Index   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 2
dl 0
loc 14
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A index() 0 4 1
A hello() 0 4 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