[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/joomla/application/src/ -> ConfigurationAwareApplicationInterface.php (summary)

Part of the Joomla Framework Application Package

Copyright: Copyright (C) 2005 - 2021 Open Source Matters, Inc. All rights reserved.
License: GNU General Public License version 2 or later; see LICENSE
File Size: 54 lines (1 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

ConfigurationAwareApplicationInterface:: (3 methods):
  get()
  set()
  setConfiguration()


Interface: ConfigurationAwareApplicationInterface  - X-Ref

Application sub-interface defining an application class which is aware of its configuration

get($key, $default = null)   X-Ref
Returns a property of the object or the default value if the property is not set.

param: string  $key      The name of the property.
param: mixed   $default  The default value (optional) if none is set.
return: mixed   The value of the configuration.

set($key, $value = null)   X-Ref
Modifies a property of the object, creating it if it does not already exist.

param: string  $key    The name of the property.
param: mixed   $value  The value of the property to set (optional).
return: mixed   Previous value of the property

setConfiguration(Registry $config)   X-Ref
Sets the configuration for the application.

param: Registry  $config  A registry object holding the configuration.
return: $this



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer