Total Complexity | 2 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 3 | ||
Bugs | 2 | Features | 0 |
1 | <?php |
||
29 | class Cli |
||
30 | { |
||
31 | /** |
||
32 | * An instance of the Argument Manager class |
||
33 | * |
||
34 | * @var \Redbox\Cli\Arguments\Manager |
||
35 | */ |
||
36 | public $arguments; |
||
37 | |||
38 | /** |
||
39 | * Cli constructor. |
||
40 | */ |
||
41 | 9 | public function __construct() |
|
42 | { |
||
43 | 9 | $this->setManager(new ArgumentManager()); |
|
44 | 9 | } |
|
45 | |||
46 | /** |
||
47 | * Set the manager for handling arguments |
||
48 | * |
||
49 | * @param \Redbox\Cli\Arguments\Manager $manager The argument manager. |
||
50 | * |
||
51 | * @return void |
||
52 | */ |
||
53 | 9 | public function setManager(ArgumentManager $manager): void |
|
56 | 9 | } |
|
57 | } |
||
58 |