PHP Class League\CommonMark\Util\Configuration

Afficher le fichier Open project: colinodell/commonmark-php Class Usage Examples

Protected Properties

Свойство Type Description
$config

Méthodes publiques

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

Méthodes protégées

Méthode Description
getConfigByPath ( string $keyPath, string | null $default = null ) : mixed

Method Details

__construct() public méthode

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

getConfig() public méthode

public getConfig ( string | null $key = null, mixed $default = null ) : mixed
$key string | null
$default mixed
Résultat mixed

getConfigByPath() protected méthode

protected getConfigByPath ( string $keyPath, string | null $default = null ) : mixed
$keyPath string
$default string | null
Résultat mixed

mergeConfig() public méthode

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

setConfig() public méthode

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

Property Details

$config protected_oe property

protected $config