PHP Class TightenCo\Jigsaw\SiteBuilder

Datei anzeigen Open project: tightenco/jigsaw

Public Methods

Method Description
__construct ( Filesystem $files, $cachePath, $outputPathResolver, $handlers = [] )
build ( $source, $dest, $data )
registerHandler ( $handler )

Private Methods

Method Description
buildFile ( $file, $dest )
buildSite ( $source, $dest, $data )
cleanup ( )
getHandler ( $file )
getOutputDirectory ( $file )
getOutputPath ( $file )
handle ( $file, $data )
prepareDirectories ( $directories )
prepareDirectory ( $directory, $clean = false )

Method Details

__construct() public method

public __construct ( Filesystem $files, $cachePath, $outputPathResolver, $handlers = [] )
$files Filesystem

build() public method

public build ( $source, $dest, $data )

registerHandler() public method

public registerHandler ( $handler )