PHP Class Webiny\Component\Config\Drivers\JsonDriver

Inheritance: extends AbstractDriver
Datei anzeigen Open project: Webiny/Framework Class Usage Examples

Protected Methods

Method Description
getArrayInternal ( ) : array | ArrayObject Parse config resource and build config array
getStringInternal ( ) : string Get config data as string

Private Methods

Method Description
parseJsonString ( array $data ) : array Parse JSON string and return config array

Method Details

getArrayInternal() protected method

Parse config resource and build config array
protected getArrayInternal ( ) : array | ArrayObject
return array | ArrayObject

getStringInternal() protected method

Get config data as string
protected getStringInternal ( ) : string
return string