ConfigurationAwareApplicationInterface
Extends ApplicationInterfaceApplication sub-interface defining an application class which is aware of its configuration
since |
2.0.0 |
---|---|
package |
Joomla Framework |
Methods
close
Method to close the application.
close(int code) : void
inherited
since |
2.0.0 |
---|
Arguments
- code
int
The exit code (optional; default is 0).
execute
Execute the application.
execute() : void
inherited
since |
2.0.0 |
---|
get
Returns a property of the object or the default value if the property is not set.
get(string key, mixed default = null) : mixed
since |
2.0.0 |
---|
Arguments
- key
string
The name of the property.- default
mixed
The default value (optional) if none is set.
Response
mixed
The value of the configuration.
set
Modifies a property of the object, creating it if it does not already exist.
set(string key, mixed value = null) : mixed
since |
2.0.0 |
---|
Arguments
- key
string
The name of the property.- value
mixed
The value of the property to set (optional).
Response
mixed
Previous value of the property
setConfiguration
Sets the configuration for the application.
setConfiguration(\Joomla\Registry\Registry config) : $this
since |
2.0.0 |
---|
Arguments
- config
\Joomla\Registry\Registry
A registry object holding the configuration.
Response
$this