Completed
Push — master ( cc3bea...d6d1d3 )
by Dana
8s
created

TestController2   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 12
rs 10
c 1
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A test1() 0 4 1
1
<?php
2
3
namespace DDesrosiers\Test\SilexAnnotations\Controller;
4
5
use DDesrosiers\SilexAnnotations\Annotations as SLX;
6
use Symfony\Component\HttpFoundation\Response;
7
8
/**
9
 * @SLX\Controller(prefix="/two")
10
 */
11
class TestController2
12
{
13
    /**
14
     * @SLX\Route(
15
     *      @SLX\Request(method="GET", uri="test")
16
     * )
17
     */
18
    public function test1()
19
    {
20
        return new Response();
21
    }
22
}