Back to Joomla project (class list)

Class AbstractImmutableEvent - list of methods

This class implements the immutable base Event object used system-wide to offer orthogonality.

Extends

Direct known subclasses

Package: Joomla\CMS\Event
Copyright: (C) 2016 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE
Located at: Joomla/Event/AbstractImmutableEvent.php
Project: Joomla

Method Summary

public
(string $name, array $arguments = [])

Constructor.
Parameters
  • string $name The event name.
  • array $arguments The event arguments.
Since
  • 4.0.0
-
  • \BadMethodCallException
Show source code of this method: __construct Source Code

public void
(mixed $name, mixed $value)

Set the value of an event argument.
Parameters
  • string $name The argument name.
  • mixed $value The argument value.
Returns
  • void
Since
  • 4.0.0
-
  • \BadMethodCallException
Show source code of this method: offsetSet Source Code

public void
(mixed $name)

Remove an event argument.
Parameters
  • string $name The argument name.
Returns
  • void
Since
  • 4.0.0
-
  • \BadMethodCallException
Show source code of this method: offsetUnset Source Code

Properties Summary

private bool
$constructed
A flag to see if the constructor has been already called.
Since
  • 4.0.0

Tags Summary

Since
4.0.0