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