DemoController::indexAction()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace test\Vivait\TenantBundle\Controller;
4
5
use Symfony\Component\HttpFoundation\Response;
6
7
class DemoController {
8
    public function indexAction() {
9
        return new Response('Hello World');
10
    }
11
12
    public function tenant1Action() {
13
        return new Response('Hello Tenant 1');
14
    }
15
16
    public function tenant2Action() {
17
        return new Response('Hello Tenant 2');
18
    }
19
}
20