PHP Class Sulu\Bundle\GeneratorBundle\Generator\Generator

Show file Open project: sulu/sulu

Public Methods

Method Description
setSkeletonDirs ( array $skeletonDirs ) Sets an array of directories to look for templates.

Protected Methods

Method Description
render ( $template, $parameters )
renderFile ( $template, $target, $parameters )

Method Details

render() protected method

protected render ( $template, $parameters )

renderFile() protected method

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

setSkeletonDirs() public method

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