| 1 | <?php |
||
| 7 | final class Definition implements ArrayAccess |
||
| 8 | { |
||
| 9 | /** @var Property[] */ |
||
| 10 | private $properties; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @param Property[] $properties |
||
| 14 | */ |
||
| 15 | public function __construct(array $properties) |
||
| 19 | |||
| 20 | public function has(string $name): bool |
||
| 24 | |||
| 25 | public function get(string $name): ?Property |
||
| 29 | |||
| 30 | public function all(): array |
||
| 34 | |||
| 35 | public function offsetExists($offset) |
||
| 39 | |||
| 40 | public function offsetGet($offset) |
||
| 44 | |||
| 45 | public function offsetSet($offset, $value) |
||
| 49 | |||
| 50 | public function offsetUnset($offset) |
||
| 54 | } |
||
| 55 |