src/Entity/RedactorTranslation.php line 18
<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
use ApiPlatform\Metadata\ApiResource,
ApiPlatform\Metadata\Get;
use App\Enum\Language,
App\Repository\RedactorTranslationRepository;
#[ApiResource(
security: 'is_granted("' . Redactor::class . '")',
operations: [ new Get() ],
extraProperties: ['standard_put' => false],
)]
#[ORM\Entity(repositoryClass: RedactorTranslationRepository::class)]
class RedactorTranslation extends AbstractAuthorTranslation
{
public function __construct(Redactor $parent, Language $lang)
{
parent::__construct($parent, $lang);
}
}