| 1 | <?php |
||
| 22 | final class ProcessorsRegistry implements ProcessorsRegistryInterface |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @var ProcessorInterface[] |
||
| 26 | */ |
||
| 27 | private $processors; |
||
| 28 | |||
| 29 | 2 | public function __construct(array $processors = array()) |
|
| 37 | |||
| 38 | /** |
||
| 39 | * {@inheritdoc} |
||
| 40 | */ |
||
| 41 | 2 | public function add(ProcessorInterface $processor) |
|
| 45 | |||
| 46 | /** |
||
| 47 | * {@inheritdoc} |
||
| 48 | */ |
||
| 49 | 2 | public function all() |
|
| 53 | |||
| 54 | /** |
||
| 55 | * {@inheritdoc} |
||
| 56 | */ |
||
| 57 | 2 | public function getIterator() |
|
| 61 | } |
||
| 62 |