| 1 | <?php |
||
| 24 | class RoutesCacheDecorator extends AbstractRoutesConfig |
||
| 25 | { |
||
| 26 | protected $config; |
||
| 27 | /** @var string */ |
||
| 28 | protected $prefix; |
||
| 29 | |||
| 30 | 1 | public function __construct(RoutesConfig $config) |
|
| 34 | |||
| 35 | /** |
||
| 36 | * Returns array that contains routes configuration |
||
| 37 | * |
||
| 38 | * @return array |
||
| 39 | */ |
||
| 40 | 1 | public function getData() |
|
| 51 | |||
| 52 | /** |
||
| 53 | * @return string |
||
| 54 | */ |
||
| 55 | 1 | public function getPrefix() |
|
| 59 | |||
| 60 | /** |
||
| 61 | * @param string $prefix |
||
| 62 | */ |
||
| 63 | 2 | public function setPrefix($prefix) |
|
| 67 | |||
| 68 | /** |
||
| 69 | * Returns array that contains routes configuration |
||
| 70 | * |
||
| 71 | * @param string $name Name of section |
||
| 72 | * |
||
| 73 | * @return array |
||
| 74 | */ |
||
| 75 | public function getSection($name) |
||
| 79 | } |
||
| 80 |