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

TestController2::test1()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 4
rs 10
c 1
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
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
}