PHP Class Phrozn\Processor\Base

Author: Victor Farazdagi
Inheritance: implements Phrozn\Processor
Show file Open project: farazdagi/phrozn

Public Methods

Method Description
getConfig ( ) : array Get processor configuration, as array
getConfigFor ( string $key ) : mixed | null Get a specific processor configuration, or null if unset Alternative API : getConfigValue ?
setConfig ( array $options ) : Phrozn\Processor Gateway to pass concrete Processor some configuration options

Method Details

getConfig() public method

Get processor configuration, as array
public getConfig ( ) : array
return array

getConfigFor() public method

Get a specific processor configuration, or null if unset Alternative API : getConfigValue ?
public getConfigFor ( string $key ) : mixed | null
$key string
return mixed | null

setConfig() public method

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