src/Entity/NewsBlockTranslationLogo.php line 19
<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use ApiPlatform\Metadata\ApiResource,
ApiPlatform\Metadata\Get;
use App\Doctrine\Attribute\TargetEntity,
App\Repository\NewsBlockTranslationLogoRepository;
#[ApiResource(
security: 'is_granted("' . News::class . '")',
operations: [ new Get() ],
extraProperties: ['standard_put' => false],
)]
#[TargetEntity(mappings: ['parent' => NewsBlockTranslation::class])]
#[ORM\Entity(repositoryClass: NewsBlockTranslationLogoRepository::class)]
class NewsBlockTranslationLogo extends AbstractBlockTranslationLogo
{
public function __construct(NewsBlockTranslation $parent)
{
parent::__construct($parent);
}
}