PHP Class Cascade\Config\Loader\PhpArray

See also: Loader
Author: Raphael Antonmattei ([email protected])
Inheritance: extends Symfony\Component\Config\Loader\Loader
Datei anzeigen Open project: theorchard/monolog-cascade Class Usage Examples

Public Methods

Method Description
load ( array $array, string | null $type = null ) : array Loads an array
supports ( string $resource, string | null $type = null ) : boolean Return whether or not the passed in resource is supported by this loader

Method Details

load() public method

Loads an array
public load ( array $array, string | null $type = null ) : array
$array array Array to load
$type string | null Not used
return array The passed in array

supports() public method

Return whether or not the passed in resource is supported by this loader
public supports ( string $resource, string | null $type = null ) : boolean
$resource string Plain string or filepath
$type string | null Not used
return boolean Whether or not the passed in resource is supported by this loader