1: <?php
2:
3: namespace PHPixie\Processors\Processor\Dispatcher;
4:
5: abstract class Registry extends \PHPixie\Processors\Processor\Dispatcher
6: {
7: protected $registry;
8:
9: public function __construct($registry)
10: {
11: $this->registry = $registry;
12: }
13:
14: public function processor($name)
15: {
16: return $this->registry->get($name);
17: }
18: }