PHP Class Phrozn\Processor\Scss

Author: Victor Farazdagi
Inheritance: extends Base, implements Phrozn\Processor
Afficher le fichier Open project: farazdagi/phrozn Class Usage Examples

Protected Properties

Свойство Type Description
$scssc Reference to SCSS compiler

Méthodes publiques

Méthode Description
__construct ( array $options = [] ) : void If configuration options are passes then twig environment is initialized right away
render ( string $tpl, array $vars = [] ) : string Parse the incoming template

Méthodes protégées

Méthode Description
getEnvironment ( $reset = false )

Method Details

__construct() public méthode

If configuration options are passes then twig environment is initialized right away
public __construct ( array $options = [] ) : void
$options array Processor options
Résultat void

getEnvironment() protected méthode

protected getEnvironment ( $reset = false )

render() public méthode

Parse the incoming template
public render ( string $tpl, array $vars = [] ) : string
$tpl string Source template content
$vars array List of variables passed to template engine
Résultat string Processed template

Property Details

$scssc protected_oe property

Reference to SCSS compiler
protected $scssc