Total Complexity | 4 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | abstract class Component |
||
9 | { |
||
10 | const DEPENDENCY = ''; |
||
11 | const CAPABILITY = ''; |
||
12 | |||
13 | /** |
||
14 | * @var Application |
||
15 | */ |
||
16 | protected $app; |
||
17 | |||
18 | public function __construct( Application $app ) |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * @return void |
||
25 | */ |
||
26 | abstract public function init(); |
||
27 | |||
28 | /** |
||
29 | * @return void|array |
||
30 | */ |
||
31 | abstract public function register(); |
||
32 | |||
33 | /** |
||
34 | * @param string $id |
||
35 | * @return array |
||
36 | */ |
||
37 | protected function normalizeThis( $data, array $defaults, $id ) |
||
49 |