Total Complexity | 2 |
Total Lines | 11 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
6 | trait ConstReader |
||
7 | { |
||
8 | /** |
||
9 | * Resolves dependency from a const config value, returns null if no such const exists. |
||
10 | * |
||
11 | * @param string $name Name of the constant |
||
12 | * @return mixed|null Constant value or null if no such const |
||
13 | */ |
||
14 | protected function fromConst(string $name) { |
||
17 | } |
||
18 | } |