PHP 클래스 Symfony\Bundle\TwigBundle\TwigEngine

저자: Fabien Potencier ([email protected])
상속: implements Symfony\Bundle\FrameworkBundle\Templating\EngineInterface, implements Symfony\Component\Templating\StreamingEngineInterface
파일 보기 프로젝트 열기: symfony/symfony 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$locator

공개 메소드들

메소드 설명
__construct ( Twig_Environment $environment, Symfony\Component\Templating\TemplateNameParserInterface $parser, Symfony\Component\Config\FileLocatorInterface $locator ) Constructor.
render ( $name, array $parameters = [] )
renderResponse ( $view, array $parameters = [], Response $response = null )

메소드 상세

__construct() 공개 메소드

Constructor.
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

render() 공개 메소드

public render ( $name, array $parameters = [] )
$parameters array

renderResponse() 공개 메소드

public renderResponse ( $view, array $parameters = [], Response $response = null )
$parameters array
$response Symfony\Component\HttpFoundation\Response

프로퍼티 상세

$locator 보호되어 있는 프로퍼티

protected $locator