| 1 | <?php |
||
| 6 | class Descriptor implements ContainerFluent |
||
| 7 | { |
||
| 8 | /** @var array */ |
||
| 9 | public $assigns = []; |
||
| 10 | |||
| 11 | /** @var array */ |
||
| 12 | public $wires = []; |
||
| 13 | |||
| 14 | /** @var callable[] */ |
||
| 15 | public $afterHandlers = []; |
||
| 16 | |||
| 17 | /** @var bool */ |
||
| 18 | public $factory = false; |
||
| 19 | |||
| 20 | /** @var bool */ |
||
| 21 | public $frozen = false; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * {@inheritdoc} |
||
| 25 | */ |
||
| 26 | 7 | public function assign(string $paramName, $target): ContainerFluent |
|
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritdoc} |
||
| 34 | */ |
||
| 35 | 3 | public function assignMany(array $params = []): ContainerFluent |
|
| 40 | |||
| 41 | /** |
||
| 42 | * {@inheritdoc} |
||
| 43 | */ |
||
| 44 | 8 | public function wire(string $propertyName, $target): ContainerFluent |
|
| 49 | |||
| 50 | /** |
||
| 51 | * {@inheritdoc} |
||
| 52 | */ |
||
| 53 | 3 | public function wireMany(array $properties): ContainerFluent |
|
| 58 | |||
| 59 | /** |
||
| 60 | * {@inheritdoc} |
||
| 61 | */ |
||
| 62 | 4 | public function after(callable $handler): ContainerFluent |
|
| 67 | |||
| 68 | /** |
||
| 69 | * {@inheritdoc} |
||
| 70 | */ |
||
| 71 | 5 | public function factory(): ContainerFluent |
|
| 76 | |||
| 77 | /** |
||
| 78 | * {@inheritdoc} |
||
| 79 | */ |
||
| 80 | 92 | public function freeze(): ContainerFluent |
|
| 85 | } |
||
| 86 |