Total Complexity | 5 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
10 | class HeyMan |
||
11 | { |
||
12 | use EloquentHooks, RouteHooks, ViewHooks, EventHooks; |
||
13 | |||
14 | private $chain; |
||
15 | |||
16 | /** |
||
17 | * HeyMan constructor. |
||
18 | * |
||
19 | * @param \Imanghafoori\HeyMan\Chain $chain |
||
20 | */ |
||
21 | 87 | public function __construct(Chain $chain) |
|
22 | { |
||
23 | 87 | $this->chain = $chain; |
|
24 | 87 | } |
|
25 | |||
26 | /** |
||
27 | * @param $url |
||
28 | * |
||
29 | * @return array |
||
30 | */ |
||
31 | 87 | private function normalizeInput(array $url): array |
|
34 | } |
||
35 | |||
36 | 15 | public function turnOff(): Consider |
|
39 | } |
||
40 | |||
41 | 1 | public function turnOn(): Consider |
|
46 |
This check looks for private methods that have been defined, but are not used inside the class.