PHP Class Nette\DI\Config\Helpers

Inheritance: use trait Nette\StaticClass
Datei anzeigen Open project: nette/di Class Usage Examples

Public Methods

Method Description
isInheriting ( &$data ) : boolean
isOverwriting ( &$data ) : boolean
merge ( $left, $right ) : array | string Merges configurations. Left has higher priority than right one.
takeParent ( &$data ) : mixed Finds out and removes information about the parent.

Method Details

isInheriting() public static method

public static isInheriting ( &$data ) : boolean
return boolean

isOverwriting() public static method

public static isOverwriting ( &$data ) : boolean
return boolean

merge() public static method

Merges configurations. Left has higher priority than right one.
public static merge ( $left, $right ) : array | string
return array | string

takeParent() public static method

Finds out and removes information about the parent.
public static takeParent ( &$data ) : mixed
return mixed