Total Complexity | 5 |
Total Lines | 60 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | class DelegationOptions |
||
19 | { |
||
20 | /** |
||
21 | * @var array |
||
22 | */ |
||
23 | protected $config = [ |
||
24 | 'enabled' => false, |
||
25 | ]; |
||
26 | |||
27 | /** |
||
28 | * @return $this |
||
29 | */ |
||
30 | public function enable() |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * @return $this |
||
39 | */ |
||
40 | public function disable() |
||
45 | } |
||
46 | |||
47 | /** |
||
48 | * @param bool $ability |
||
49 | * |
||
50 | * @return $this |
||
51 | */ |
||
52 | public function ability($ability) |
||
57 | } |
||
58 | |||
59 | /** |
||
60 | * @param string $host |
||
61 | * |
||
62 | * @return $this |
||
63 | */ |
||
64 | public function toHost($host) |
||
69 | } |
||
70 | |||
71 | /** |
||
72 | * Destructor. |
||
73 | */ |
||
74 | public function __destruct() |
||
81 |