PHP Class League\CommonMark\Util\Configuration

Datei anzeigen Open project: colinodell/commonmark-php Class Usage Examples

Protected Properties

Property Type Description
$config

Public Methods

Method Description
__construct ( array $config = [] )
getConfig ( string | null $key = null, mixed $default = null ) : mixed
mergeConfig ( array $config = [] )
setConfig ( array $config = [] )

Protected Methods

Method Description
getConfigByPath ( string $keyPath, string | null $default = null ) : mixed

Method Details

__construct() public method

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

getConfig() public method

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

getConfigByPath() protected method

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

mergeConfig() public method

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

setConfig() public method

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

Property Details

$config protected_oe property

protected $config