PHP Interface Webiny\Component\Config\Bridge\Yaml\YamlInterface

Show file Open project: Webiny/Framework Interface Usage Examples

Public Methods

Method Description
getArray ( ) : array Get Yaml value as array
getString ( integer $indent = 4 ) : string Get current Yaml value as string
setResource ( mixed $resource ) Set driver resource to work on

Method Details

getArray() public method

Get Yaml value as array
public getArray ( ) : array
return array

getString() public method

Get current Yaml value as string
public getString ( integer $indent = 4 ) : string
$indent integer
return string

setResource() public method

Set driver resource to work on
public setResource ( mixed $resource )
$resource mixed