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