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