ControllerWithTrait   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 3
dl 0
loc 11
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A indexAction() 0 3 1
1
<?php
2
3
namespace Doctrine\Tests\Annotations\Fixtures;
4
5
use Doctrine\Tests\Annotations\Fixtures\Annotation\Template;
6
use Doctrine\Tests\Annotations\Fixtures\Annotation\Route;
7
use Doctrine\Tests\Annotations\Fixtures\Traits\SecretRouteTrait;
8
9
/**
10
 * @Route("/someprefix")
11
 * @author Johannes M. Schmitt <[email protected]>
12
 */
13
class ControllerWithTrait
14
{
15
    use SecretRouteTrait;
16
17
    /**
18
     * @Route("/", name="_demo")
19
     * @Template()
20
     */
21
    public function indexAction()
22
    {
23
        return [];
24
    }
25
}
26