| 1 | <?php |
||
| 9 | final class SourcesRegistry implements SourcesRegistryInterface |
||
| 10 | { |
||
| 11 | private $sources; |
||
| 12 | |||
| 13 | public function __construct(array $sources = array()) |
||
| 21 | |||
| 22 | public function add(SourceInterface $source) |
||
| 28 | |||
| 29 | public function has($name) |
||
| 33 | |||
| 34 | public function get($name) |
||
| 38 | |||
| 39 | public function all() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * {@inheritdoc} |
||
| 46 | */ |
||
| 47 | public function getIterator() |
||
| 51 | } |
||
| 52 |