|
0
|
1 |
<?php |
|
|
2 |
|
|
|
3 |
namespace Sensio\Bundle\FrameworkExtraBundle\Configuration; |
|
|
4 |
|
|
|
5 |
use Symfony\Component\Routing\Annotation\Route as BaseRoute; |
|
|
6 |
|
|
|
7 |
/* |
|
|
8 |
* This file is part of the Symfony framework. |
|
|
9 |
* |
|
|
10 |
* (c) Fabien Potencier <fabien@symfony.com> |
|
|
11 |
* |
|
|
12 |
* This source file is subject to the MIT license that is bundled |
|
|
13 |
* with this source code in the file LICENSE. |
|
|
14 |
*/ |
|
|
15 |
|
|
|
16 |
/** |
|
|
17 |
* @author Kris Wallsmith <kris@symfony.com> |
|
|
18 |
* @Annotation |
|
|
19 |
*/ |
|
|
20 |
class Route extends BaseRoute |
|
|
21 |
{ |
|
|
22 |
protected $service; |
|
|
23 |
|
|
|
24 |
public function setService($service) |
|
|
25 |
{ |
|
|
26 |
$this->service = $service; |
|
|
27 |
} |
|
|
28 |
|
|
|
29 |
public function getService() |
|
|
30 |
{ |
|
|
31 |
return $this->service; |
|
|
32 |
} |
|
|
33 |
} |