twig = $twig; } /** * @param array $model * @param string $template * * @return string */ public function show( $model, $template ) { return $this->twig->render( $template . self::FILE_EXTENSION, $model ); } }