| 1 | <?php declare(strict_types=1); |
||
| 8 | class InflectorAggregate implements InflectorAggregateInterface |
||
| 9 | { |
||
| 10 | use ContainerAwareTrait; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var \League\Container\Inflector[] |
||
| 14 | */ |
||
| 15 | protected $inflectors = []; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * {@inheritdoc} |
||
| 19 | 9 | */ |
|
| 20 | public function add(string $type, callable $callback = null): Inflector |
||
| 27 | |||
| 28 | 3 | /** |
|
| 29 | 3 | * {@inheritdoc} |
|
| 30 | */ |
||
| 31 | public function getIterator(): Generator |
||
| 39 | |||
| 40 | /** |
||
| 41 | 6 | * {@inheritdoc} |
|
| 42 | 3 | */ |
|
| 43 | 3 | public function inflect($object) |
|
| 58 | } |
||
| 59 |