PHP 클래스 League\CommonMark\Util\Configuration

파일 보기 프로젝트 열기: colinodell/commonmark-php 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$config

공개 메소드들

메소드 설명
__construct ( array $config = [] )
getConfig ( string | null $key = null, mixed $default = null ) : mixed
mergeConfig ( array $config = [] )
setConfig ( array $config = [] )

보호된 메소드들

메소드 설명
getConfigByPath ( string $keyPath, string | null $default = null ) : mixed

메소드 상세

__construct() 공개 메소드

public __construct ( array $config = [] )
$config array

getConfig() 공개 메소드

public getConfig ( string | null $key = null, mixed $default = null ) : mixed
$key string | null
$default mixed
리턴 mixed

getConfigByPath() 보호된 메소드

protected getConfigByPath ( string $keyPath, string | null $default = null ) : mixed
$keyPath string
$default string | null
리턴 mixed

mergeConfig() 공개 메소드

public mergeConfig ( array $config = [] )
$config array

setConfig() 공개 메소드

public setConfig ( array $config = [] )
$config array

프로퍼티 상세

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

protected $config