1 | <?php |
||
13 | abstract class BaseController implements \Psr\Log\LoggerAwareInterface, PageInterface { |
||
14 | |||
15 | /** |
||
16 | * @var Twig_Environment |
||
17 | */ |
||
18 | protected $twig; |
||
19 | |||
20 | /** |
||
21 | * |
||
22 | * @var StandardDebugBar |
||
23 | */ |
||
24 | protected $debugbar; |
||
25 | |||
26 | use \Psr\Log\LoggerAwareTrait; |
||
27 | |||
28 | protected function render($view,array $data = []){ |
||
37 | |||
38 | public function setTwig(Twig_Environment $twig) { |
||
42 | |||
43 | public function setDebugbar(StandardDebugBar $debugbar) { |
||
47 | |||
48 | |||
49 | |||
50 | } |
||
51 |