| Total Complexity | 2 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 17 | class HandlerFactory { |
||
| 18 | /** |
||
| 19 | * Injection Factory. |
||
| 20 | * |
||
| 21 | * @var InjectionFactory |
||
| 22 | */ |
||
| 23 | protected $injection_factory = null; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Constructor. |
||
| 27 | * |
||
| 28 | * @codeCoverageIgnore |
||
| 29 | * @param InjectionFactory $injection_factory |
||
| 30 | */ |
||
| 31 | public function __construct( InjectionFactory $injection_factory ) { |
||
| 32 | $this->injection_factory = $injection_factory; |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Make a Handler. |
||
| 37 | * |
||
| 38 | * @codeCoverageIgnore |
||
| 39 | * @param string|\Closure $raw_handler |
||
| 40 | * @param string $default_method |
||
| 41 | * @param string $namespace |
||
| 42 | * |
||
| 43 | * @return Handler |
||
| 44 | */ |
||
| 45 | public function make( $raw_handler, $default_method = '', $namespace = '' ) { |
||
| 47 | } |
||
| 48 | } |
||
| 49 |