Completed
Push — master ( 43f223...184ac5 )
by Dmitry
03:16
created

Index::hello()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace Controller;
4
5
use Basis\Toolkit;
6
use Basis\Runner;
7
8
class Index
9
{
10
    use Toolkit;
11
12
    public function index()
13
    {
14
        return 'index page';
15
    }
16
17
    public function hello(Runner $runner)
18
    {
19
        return $runner->dispatch('test.hello')->message;
20
    }
21
}
22