X7ROOT File Manager
Current Path:
/home/notabjze/just4dastreets.com/libraries/vendor/joomla/event/src
home
/
notabjze
/
just4dastreets.com
/
libraries
/
vendor
/
joomla
/
event
/
src
/
ðŸ“
..
📄
AbstractEvent.php
(4.12 KB)
ðŸ“
Command
📄
Dispatcher.php
(11.57 KB)
📄
DispatcherAwareInterface.php
(655 B)
📄
DispatcherAwareTrait.php
(1.1 KB)
📄
DispatcherInterface.php
(3.37 KB)
📄
Event.php
(2.61 KB)
📄
EventImmutable.php
(2 KB)
📄
EventInterface.php
(1.12 KB)
📄
LazyServiceEventListener.php
(3.07 KB)
📄
ListenersPriorityQueue.php
(3.22 KB)
📄
Priority.php
(1.52 KB)
📄
SubscriberInterface.php
(840 B)
Editing: DispatcherAwareTrait.php
<?php /** * 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 */ namespace Joomla\Event; /** * Defines the trait for a Dispatcher Aware Class. * * @since 1.2.0 */ trait DispatcherAwareTrait { /** * Event Dispatcher * * @var DispatcherInterface|null * @since 1.2.0 */ private $dispatcher; /** * Get the event dispatcher. * * @return DispatcherInterface * * @since 1.2.0 * @throws \UnexpectedValueException May be thrown if the dispatcher has not been set. */ public function getDispatcher() { if ($this->dispatcher) { return $this->dispatcher; } throw new \UnexpectedValueException('Dispatcher not set in ' . __CLASS__); } /** * Set the dispatcher to use. * * @param DispatcherInterface $dispatcher The dispatcher to use. * * @return $this * * @since 1.2.0 */ public function setDispatcher(DispatcherInterface $dispatcher) { $this->dispatcher = $dispatcher; return $this; } }
Upload File
Create Folder