<?php/** * Part of the Joomla Framework Event Package * * @copyright Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE */namespaceJoomla\Event;/** * Interface to be implemented by classes depending on a dispatcher. * * @since 1.0 */interfaceDispatcherAwareInterface{/** * Set the dispatcher to use. * * @param DispatcherInterface $dispatcher The dispatcher to use. * * @return DispatcherAwareInterface This method is chainable. * * @since 1.0 */publicfunctionsetDispatcher(DispatcherInterface$dispatcher);}