Completed
Push — master ( 6279e9...10f8e7 )
by Kévin
02:39
created

RouteAnnotationAction   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 10
rs 10
1
<?php
2
3
/*
4
 * (c) Kévin Dunglas <[email protected]>
5
 *
6
 * This source file is subject to the MIT license that is bundled
7
 * with this source code in the file LICENSE.
8
 */
9
10
namespace Dunglas\ActionBundle\Tests\Fixtures\TestBundle\Action;
11
12
use Symfony\Component\HttpFoundation\Response;
13
use Symfony\Component\Routing\Annotation\Route;
14
15
/**
16
 * @author Kévin Dunglas <[email protected]>
17
 */
18
class RouteAnnotationAction
19
{
20
    /**
21
     * @Route("/annotation")
22
     */
23
    public function __invoke()
24
    {
25
        return new Response('Hey, ho, let\'s go!');
26
    }
27
}
28