Total Complexity | 4 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
18 | class GenericFactory { |
||
19 | /** |
||
20 | * Container. |
||
21 | * |
||
22 | * @var Container |
||
23 | */ |
||
24 | protected $container = null; |
||
25 | |||
26 | /** |
||
27 | * Constructor. |
||
28 | * |
||
29 | * @codeCoverageIgnore |
||
30 | * @param Container $container |
||
31 | */ |
||
32 | public function __construct( Container $container ) { |
||
34 | } |
||
35 | |||
36 | /** |
||
37 | * Make a class instance. |
||
38 | * |
||
39 | * @throws ClassNotFoundException |
||
40 | * @param string $class |
||
41 | * @return object |
||
42 | */ |
||
43 | 3 | public function make( $class ) { |
|
55 |