PHP 클래스 Phrozn\Processor\Scss

저자: Victor Farazdagi
상속: extends Base, implements Phrozn\Processor
파일 보기 프로젝트 열기: farazdagi/phrozn 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$scssc Reference to SCSS compiler

공개 메소드들

메소드 설명
__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

보호된 메소드들

메소드 설명
getEnvironment ( $reset = false )

메소드 상세

__construct() 공개 메소드

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

getEnvironment() 보호된 메소드

protected getEnvironment ( $reset = false )

render() 공개 메소드

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
리턴 string Processed template

프로퍼티 상세

$scssc 보호되어 있는 프로퍼티

Reference to SCSS compiler
protected $scssc