Completed
Push — master ( f65d8f...4f3de5 )
by Pavel
04:14 queued 01:54
created

SampleController::actionIndex()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 1 Features 1
Metric Value
cc 1
eloc 4
c 2
b 1
f 1
nc 1
nop 0
dl 0
loc 6
rs 9.4285
1
<?php
2
namespace App\Commands;
3
4
final class SampleController
5
{
6
    private $args;
7
8
    public function __construct($args)
9
    {
10
        $this->args = $args;
11
    }
12
13
    public function actionIndex()
14
    {
15
        echo 'This is sample console command.' . PHP_EOL;
16
        echo 'Actions: ' . PHP_EOL;
17
        echo 'partisan sample index' . PHP_EOL;
18
    }
19
}
20