| Total Complexity | 6 |
| Total Lines | 56 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class Console |
||
| 8 | { |
||
| 9 | /** @var Suricate */ |
||
| 10 | private $app; |
||
| 11 | |||
| 12 | /** @var array */ |
||
| 13 | private $args; |
||
| 14 | |||
| 15 | public function __construct(Suricate $app, array $args) |
||
| 16 | { |
||
| 17 | $this->app = $app; |
||
| 18 | $this->args = $args; |
||
| 19 | array_shift($this->args); |
||
| 20 | } |
||
| 21 | |||
| 22 | public function execute() |
||
| 38 | } |
||
| 39 | |||
| 40 | public static function coloredString(string $string, $color) |
||
| 63 | } |
||
| 64 | } |
||
| 65 |