| Total Complexity | 4 |
| Total Lines | 45 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 10 | class Post extends Controller |
||
| 11 | { |
||
| 12 | |||
| 13 | protected $siteConfig; |
||
| 14 | |||
| 15 | public function __construct(Container $container) |
||
| 19 | } |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param $slug |
||
| 23 | * @throws \Exception |
||
| 24 | * @throws \ReflectionException |
||
| 25 | * @throws \Twig_Error_Loader |
||
| 26 | * @throws \Twig_Error_Runtime |
||
| 27 | * @throws \Twig_Error_Syntax |
||
| 28 | */ |
||
| 29 | public function viewPost(string $slug) |
||
| 57 | } |