PHP Class Phrozn\Site\View\Less

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

Public Methods

Method Description
__construct ( string $inputFile = null, string $outputDir = null ) : Phrozn\Site\View Initialize view
getOutputFile ( ) : string Get output file path
setInputFile ( $path ) : Phrozn\Site\View Set input file path. Overriden to update processor options.

Method Details

__construct() public method

Initialize view
public __construct ( string $inputFile = null, string $outputDir = null ) : Phrozn\Site\View
$inputFile string Path to view source file
$outputDir string File destination path
return Phrozn\Site\View

getOutputFile() public method

Get output file path
public getOutputFile ( ) : string
return string

setInputFile() public method

Set input file path. Overriden to update processor options.
public setInputFile ( $path ) : Phrozn\Site\View
return Phrozn\Site\View