| Total Complexity | 2 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class Tag extends Controller |
||
| 12 | { |
||
| 13 | |||
| 14 | protected $siteConfig; |
||
| 15 | |||
| 16 | public function __construct(Container $container) |
||
| 17 | { |
||
| 18 | $this->loadModules[] = 'SiteConfig'; |
||
| 19 | parent::__construct($container); |
||
| 20 | } |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @param int $tagId |
||
| 24 | * @param string $page |
||
| 25 | * @throws \ErrorException |
||
| 26 | * @throws \ReflectionException |
||
| 27 | * @throws \Twig_Error_Loader |
||
| 28 | * @throws \Twig_Error_Runtime |
||
| 29 | * @throws \Twig_Error_Syntax |
||
| 30 | */ |
||
| 31 | public function posts(int $tagId, string $page = "page-1") |
||
| 47 | } |
||
| 48 | } |