*/ private array $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []): iterable { $macros = $this->macros; $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"]; $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Maker/doctrine/Entity.tpl.php")); $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Maker/doctrine/Entity.tpl.php")); // line 1 yield " namespace ; #[ORM\\Entity(repositoryClass: ::class)] #[ORM\\Table(name: '``')] #[ApiResource] #[Broadcast] class { #[ORM\\Id] #[ORM\\Column(type: UuidType::NAME, unique: true)] #[ORM\\GeneratedValue(strategy: 'CUSTOM')] #[ORM\\CustomIdGenerator(class: 'doctrine.uuid_generator')] private ?Uuid \$id = null; public function getId(): ?Uuid { return \$this->id; } #[ORM\\Id] #[ORM\\Column(type: UlidType::NAME, unique: true)] #[ORM\\GeneratedValue(strategy: 'CUSTOM')] #[ORM\\CustomIdGenerator(class: 'doctrine.ulid_generator')] private ?Ulid \$id = null; public function getId(): ?Ulid { return \$this->id; } #[ORM\\Id] #[ORM\\GeneratedValue] #[ORM\\Column] private ?int \$id = null; public function getId(): ?int { return \$this->id; } } "; $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof); $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof); yield from []; } /** * @codeCoverageIgnore */ public function getTemplateName(): string { return "@Maker/doctrine/Entity.tpl.php"; } /** * @codeCoverageIgnore */ public function getDebugInfo(): array { return array ( 48 => 1,); } public function getSourceContext(): Source { return new Source(" namespace ; #[ORM\\Entity(repositoryClass: ::class)] #[ORM\\Table(name: '``')] #[ApiResource] #[Broadcast] class { #[ORM\\Id] #[ORM\\Column(type: UuidType::NAME, unique: true)] #[ORM\\GeneratedValue(strategy: 'CUSTOM')] #[ORM\\CustomIdGenerator(class: 'doctrine.uuid_generator')] private ?Uuid \$id = null; public function getId(): ?Uuid { return \$this->id; } #[ORM\\Id] #[ORM\\Column(type: UlidType::NAME, unique: true)] #[ORM\\GeneratedValue(strategy: 'CUSTOM')] #[ORM\\CustomIdGenerator(class: 'doctrine.ulid_generator')] private ?Ulid \$id = null; public function getId(): ?Ulid { return \$this->id; } #[ORM\\Id] #[ORM\\GeneratedValue] #[ORM\\Column] private ?int \$id = null; public function getId(): ?int { return \$this->id; } } ", "@Maker/doctrine/Entity.tpl.php", "/var/www/cds/app/vendor/symfony/maker-bundle/templates/doctrine/Entity.tpl.php"); } }