src/Entity/Mapped/NamedEntity.php line 11
<?phpdeclare(strict_types=1);namespace App\Entity\Mapped;use Doctrine\ORM\Mapping as ORM;use Symfony\Component\Validator\Constraints as Assert;#[ORM\MappedSuperclass]class NamedEntity extends Entity{#[ORM\Column(name: 'name',type: 'string',length: 181,nullable: true)]#[Assert\NotBlank(groups: ['action'])]#[Assert\Length(max: 180,groups: ['action'])]private ?string $name = null;public function getName(): ?string{return $this->name;}public function setName(?string $name): self{$this->name = $name;return $this;}}