| 1 | <?php |
||
| 18 | class Route extends BaseRoute implements RouteObjectInterface |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | protected $templateName; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | protected $articlesTemplateName; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var string |
||
| 32 | */ |
||
| 33 | protected $type; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @var int |
||
| 37 | */ |
||
| 38 | protected $cacheTimeInSeconds = 0; |
||
| 39 | |||
| 40 | /** |
||
| 41 | * {@inheritdoc} |
||
| 42 | */ |
||
| 43 | 18 | public function getTemplateName() |
|
| 47 | |||
| 48 | /** |
||
| 49 | * {@inheritdoc} |
||
| 50 | */ |
||
| 51 | 8 | public function setTemplateName($templateName) |
|
| 55 | |||
| 56 | /** |
||
| 57 | * {@inheritdoc} |
||
| 58 | */ |
||
| 59 | 8 | public function getArticlesTemplateName() |
|
| 63 | |||
| 64 | /** |
||
| 65 | * {@inheritdoc} |
||
| 66 | */ |
||
| 67 | 6 | public function setArticlesTemplateName($articlesTemplateName) |
|
| 71 | |||
| 72 | /** |
||
| 73 | * {@inheritdoc} |
||
| 74 | */ |
||
| 75 | 18 | public function getType() |
|
| 79 | |||
| 80 | /** |
||
| 81 | * {@inheritdoc} |
||
| 82 | */ |
||
| 83 | 31 | public function setType($type) |
|
| 87 | |||
| 88 | /** |
||
| 89 | * @return int |
||
| 90 | */ |
||
| 91 | 14 | public function getCacheTimeInSeconds() |
|
| 95 | |||
| 96 | /** |
||
| 97 | * @param int $cacheTimeInSeconds |
||
| 98 | */ |
||
| 99 | 9 | public function setCacheTimeInSeconds($cacheTimeInSeconds) |
|
| 103 | } |
||
| 104 |