Total Complexity | 7 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
7 | trait Attachable |
||
8 | { |
||
9 | |||
10 | /** |
||
11 | * @var string |
||
12 | */ |
||
13 | protected $_key; |
||
14 | |||
15 | /** |
||
16 | * Attachable constructor. |
||
17 | * |
||
18 | * @param string $key |
||
19 | * @param array $storage |
||
20 | */ |
||
21 | public function initializer(string $key, array $storage): void |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * @param array $storage |
||
29 | */ |
||
30 | protected function attached(array $storage): void |
||
47 |