src/Entity/PageBlockTranslationLogo.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\PageBlockTranslationLogoRepository;
#[ApiResource(
security: 'is_granted("' . Page::class . '")',
operations: [ new Get() ],
extraProperties: ['standard_put' => false],
)]
#[TargetEntity(mappings: ['parent' => PageBlockTranslation::class])]
#[ORM\Entity(repositoryClass: PageBlockTranslationLogoRepository::class)]
class PageBlockTranslationLogo extends AbstractBlockTranslationLogo
{
public function __construct(PageBlockTranslation $parent)
{
parent::__construct($parent);
}
}