PHP Class Yosymfony\Spress\Scaffolding\Generator

Inspired by {@link https://github.com/sensiolabs/SensioGeneratorBundle/blob/master/Generator/Generator.php Symfony Generator}.
Author: Victor Puertas ([email protected])
ファイルを表示 Open project: spress/spress

Public Methods

Method Description
__construct ( )
setSkeletonDirs ( array $value ) Set a list of directories.

Protected Methods

Method Description
cleanFilesAffected ( )
getFilesAffected ( )
getTwig ( )
render ( $template, $model )
renderFile ( $template, $target, $model )

Method Details

__construct() public method

public __construct ( )

cleanFilesAffected() protected method

protected cleanFilesAffected ( )

getFilesAffected() protected method

protected getFilesAffected ( )

getTwig() protected method

protected getTwig ( )

render() protected method

protected render ( $template, $model )

renderFile() protected method

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

setSkeletonDirs() public method

Set a list of directories.
public setSkeletonDirs ( array $value )
$value array