[ 'method' => 'GET', 'path' => '/enum/{name}' ] ] )] class Enum { #[ApiProperty(identifier: true)] private string $name; private array $items = []; public function __construct() { } public function getName(): string { return $this->name; } public function setName(string $name): self { $this->name = $name; return $this; } public function setItems(array $items): self { $this->items = $items; return $this; } public function getItems(): array { return $this->items; } }