Property | Type | Description | |
---|---|---|---|
$locator |
Method | Description | |
---|---|---|
__construct ( Twig_Environment $environment, Symfony\Component\Templating\TemplateNameParserInterface $parser, Symfony\Component\Config\FileLocatorInterface $locator ) | Constructor. | |
render ( $name, array $parameters = [] ) | ||
renderResponse ( $view, array $parameters = [], |
public __construct ( Twig_Environment $environment, Symfony\Component\Templating\TemplateNameParserInterface $parser, Symfony\Component\Config\FileLocatorInterface $locator ) | ||
$environment | Twig_Environment | A \Twig_Environment instance |
$parser | Symfony\Component\Templating\TemplateNameParserInterface | A TemplateNameParserInterface instance |
$locator | Symfony\Component\Config\FileLocatorInterface | A FileLocatorInterface instance |
public renderResponse ( $view, array $parameters = [], |
||
$parameters | array | |
$response |