PHP 클래스 Newscoop\PluginGeneratorBundle\Generator\Generator

저자: Fabien Potencier ([email protected])
파일 보기 프로젝트 열기: sourcefabric/newscoop

공개 메소드들

메소드 설명
setSkeletonDirs ( array $skeletonDirs ) Sets an array of directories to look for templates.

보호된 메소드들

메소드 설명
getTwigEnvironment ( ) : Twig_Environment Get the twig environment that will render skeletons
render ( $template, $parameters )
renderFile ( $template, $target, $parameters )

메소드 상세

getTwigEnvironment() 보호된 메소드

Get the twig environment that will render skeletons
protected getTwigEnvironment ( ) : Twig_Environment
리턴 Twig_Environment

render() 보호된 메소드

protected render ( $template, $parameters )

renderFile() 보호된 메소드

protected renderFile ( $template, $target, $parameters )

setSkeletonDirs() 공개 메소드

The directories must be sorted from the most specific to the most directory.
public setSkeletonDirs ( array $skeletonDirs )
$skeletonDirs array An array of skeleton dirs