| 1 | <?php |
||
| 14 | class View implements ContainerAwareInterface |
||
| 15 | { |
||
| 16 | use ContainerAwareTrait; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @param string $view A short notation view (a:b:c) AppBundle:Default:homepage |
||
| 20 | * |
||
| 21 | * @return callable |
||
| 22 | */ |
||
| 23 | public function getView($view) |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param string $view A short notation view (a:b:c) AppBundle:Default:homepage |
||
| 30 | * @param mixed $data |
||
| 31 | * |
||
| 32 | * @return mixed |
||
| 33 | */ |
||
| 34 | public function renderOne($view, $data) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @param string $view A short notation view (a:b:c) AppBundle:Default:homepage |
||
| 41 | * @param array $data |
||
| 42 | * @param bool $preserveKeys |
||
| 43 | * |
||
| 44 | * @return array |
||
| 45 | */ |
||
| 46 | public function renderMany($view, $data, $preserveKeys = false) |
||
| 50 | } |
||
| 51 |