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

SensioFrameworkExtraAction   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 Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
13
use Symfony\Component\HttpFoundation\Response;
14
15
/**
16
 * @Route(service="action.Dunglas\ActionBundle\Tests\Fixtures\TestBundle\Action\SensioFrameworkExtraAction")
17
 *
18
 * @author Kévin Dunglas <[email protected]>
19
 */
20
class SensioFrameworkExtraAction
21
{
22
    /**
23
     * @Route("/extra")
24
     */
25
    public function __invoke()
26
    {
27
        return new Response('How are you?');
28
    }
29
}
30