PHP Class Phrozn\Site\DefaultSite

Author: Victor Farazdagi
Inheritance: extends Base, implements Phrozn\Site
Datei anzeigen Open project: farazdagi/phrozn Class Usage Examples

Public Methods

Method Description
compile ( ) : void Create static version of site.

Private Methods

Method Description
copyStatic ( ) : Phrozn\Site Some files are just copied over w/o any additional processing.
processQueue ( ) : Phrozn\Site Process view by view compilation
tryToCopyFile ( SplFileInfo $file, SplFileInfo $inDir, SplFileInfo $outDir, string[] $skip = [] ) Tries to copy $file as-is from the input directory to the output directory.
tryToCopyFolder ( SplFileInfo $folder, SplFileInfo $inDir, SplFileInfo $outDir, string[] $skip = [] ) Files are just copied over w/o any additional processing.

Method Details

compile() public method

Ideally, only parts that changed should be recompiled into Phrozn site.
public compile ( ) : void
return void