Class Config
A service to manage service container configurations
-
Wei\Base
-
Wei\Config
Methods summary
public
string
|
#
toJson( string $name )
Convert configuration data to JSON
Convert configuration data to JSON
Parameters
- $name
- The name of configuration item
Returns
string
|
public
string
|
#
toOptions( string $name )
Convert configuration data to HTML select options
Convert configuration data to HTML select options
Parameters
- $name
- The name of configuration item
Returns
string
|
public
mixed
|
#
getMap( string $name, string $key )
Returns the value by the map name and key
Returns the value by the map name and key
Parameters
- $name
- The name of the map
- $key
- The key name in the map
Returns
mixed
|