[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/HTML/ -> Registry.php (summary)

Joomla! Content Management System

Copyright: (C) 2017 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 133 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions

  getService()
  hasService()
  register()

Functions
Functions that are not part of a class:

getService(string $key)   X-Ref
Get the service for a given key

param: string  $key  The service key to look up
return: string|object

hasService(string $key)   X-Ref
Check if the registry has a service for the given key

param: string  $key  The service key to look up
return: boolean

register(string $key, $handler, bool $replace = false)   X-Ref
Register a service

param: string         $key      The service key to be registered
param: string|object  $handler  The handler for the service as either a PHP class name or class object
param: boolean        $replace  Flag indicating the service key may replace an existing definition
return: void



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