PHP 인터페이스 Phrozn\Processor

저자: Victor Farazdagi
파일 보기 프로젝트 열기: farazdagi/phrozn

공개 메소드들

메소드 설명
getConfig ( ) : array Get processor configuration
render ( string $tpl, array $vars = [] ) : string Parse the incoming template
setConfig ( array $options ) : Phrozn\Processor Gateway to pass concrete Processor some configuration options

메소드 상세

getConfig() 공개 메소드

Get processor configuration
public getConfig ( ) : array
리턴 array

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

setConfig() 공개 메소드

Gateway to pass concrete Processor some configuration options
public setConfig ( array $options ) : Phrozn\Processor
$options array Options to pass to engine
리턴 Phrozn\Processor