ServeCommand   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 6
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A actionIndex() 0 4 1
1
<?php
2
3
namespace App\Ship\Command;
4
5
use Rudra\Cli\ConsoleFacade as Cli;
6
7
class ServeCommand
8
{
9
    public function actionIndex(): void
10
    {
11
        Cli::printer("Rudra is running:", "cyan");
12
        exec('php -S 127.0.0.1:8000 -t public');
13
    }
14
}
15