PHP 클래스 Webiny\Component\Config\Drivers\AbstractDriver

상속: use trait Webiny\Component\StdLib\StdLibTrait
파일 보기 프로젝트 열기: Webiny/Framework 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$resource Contains config data which needs to be parsed and converted to ConfigObject

공개 메소드들

메소드 설명
__construct ( null $resource = null ) Create config driver instance
getArray ( ) : array Get config data as array
getResource ( ) : mixed Get driver resource
getString ( ) : string Get formatted config data as string

보호된 메소드들

메소드 설명
getArrayInternal ( ) : array | ArrayObject Parse config resource and build config array
getStringInternal ( ) : string Get config data as string

비공개 메소드들

메소드 설명
isFilepath ( $string )

메소드 상세

__construct() 공개 메소드

Create config driver instance
public __construct ( null $resource = null )
$resource null Resource for driver

getArray() 최종 공개 메소드

Get config data as array
final public getArray ( ) : array
리턴 array Parsed resource data array

getArrayInternal() 추상적인 보호된 메소드

Parse config resource and build config array
abstract protected getArrayInternal ( ) : array | ArrayObject
리턴 array | Webiny\Component\StdLib\StdObject\ArrayObject\ArrayObject Config data

getResource() 최종 공개 메소드

Get driver resource
final public getResource ( ) : mixed
리턴 mixed Driver resource (can be: string, array, StringObject, ArrayObject)

getString() 최종 공개 메소드

Get formatted config data as string
final public getString ( ) : string
리턴 string Formatted config data

getStringInternal() 추상적인 보호된 메소드

Get config data as string
abstract protected getStringInternal ( ) : string
리턴 string Formatted config data

프로퍼티 상세

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

Contains config data which needs to be parsed and converted to ConfigObject
protected $resource