[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/joomla/event/src/ -> LazyServiceEventListener.php (summary)

Part of the Joomla Framework Event 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: 130 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 2 functions

  __construct()
  __invoke()

Functions
Functions that are not part of a class:

__construct(ContainerInterface $container, string $serviceId, string $method = '')   X-Ref
Constructor.

param: ContainerInterface  $container  The service container to load the service from when it shall be executed
param: string              $serviceId  The ID of the service from the container to be used
param: string              $method     The method from the service to be called if necessary. If left empty, the service must be a callable;

__invoke(EventInterface $event)   X-Ref
Load a service from the container to listen to an event.

param: EventInterface  $event  The event to process
return: void



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