PHP Class Themosis\Config\ConfigFactory

Inheritance: implements Themosis\Config\IConfig
显示文件 Open project: themosis/framework

Protected Properties

Property Type Description
$finder ConfigFinder Config file finder instance.

Public Methods

Method Description
__construct ( ConfigFinder $finder )
get ( string $name ) : mixed Return all or specific property from a config file.

Method Details

__construct() public method

public __construct ( ConfigFinder $finder )
$finder ConfigFinder

get() public method

Return all or specific property from a config file.
public get ( string $name ) : mixed
$name string The config file name or its property full name.
return mixed

Property Details

$finder protected_oe property

Config file finder instance.
protected ConfigFinder,Themosis\Config $finder
return ConfigFinder