Edit File by line
/home/barbar84/public_h.../wp-conte.../plugins/updraftp.../vendor/symfony/event-di...
File: EventSubscriberInterface.php
<?php
[0] Fix | Delete
[1] Fix | Delete
/*
[2] Fix | Delete
* This file is part of the Symfony package.
[3] Fix | Delete
*
[4] Fix | Delete
* (c) Fabien Potencier <fabien@symfony.com>
[5] Fix | Delete
*
[6] Fix | Delete
* For the full copyright and license information, please view the LICENSE
[7] Fix | Delete
* file that was distributed with this source code.
[8] Fix | Delete
*/
[9] Fix | Delete
[10] Fix | Delete
namespace Symfony\Component\EventDispatcher;
[11] Fix | Delete
[12] Fix | Delete
/**
[13] Fix | Delete
* An EventSubscriber knows himself what events he is interested in.
[14] Fix | Delete
* If an EventSubscriber is added to an EventDispatcherInterface, the manager invokes
[15] Fix | Delete
* {@link getSubscribedEvents} and registers the subscriber as a listener for all
[16] Fix | Delete
* returned events.
[17] Fix | Delete
*
[18] Fix | Delete
* @author Guilherme Blanco <guilhermeblanco@hotmail.com>
[19] Fix | Delete
* @author Jonathan Wage <jonwage@gmail.com>
[20] Fix | Delete
* @author Roman Borschel <roman@code-factory.org>
[21] Fix | Delete
* @author Bernhard Schussek <bschussek@gmail.com>
[22] Fix | Delete
*/
[23] Fix | Delete
interface EventSubscriberInterface
[24] Fix | Delete
{
[25] Fix | Delete
/**
[26] Fix | Delete
* Returns an array of event names this subscriber wants to listen to.
[27] Fix | Delete
*
[28] Fix | Delete
* The array keys are event names and the value can be:
[29] Fix | Delete
*
[30] Fix | Delete
* * The method name to call (priority defaults to 0)
[31] Fix | Delete
* * An array composed of the method name to call and the priority
[32] Fix | Delete
* * An array of arrays composed of the method names to call and respective
[33] Fix | Delete
* priorities, or 0 if unset
[34] Fix | Delete
*
[35] Fix | Delete
* For instance:
[36] Fix | Delete
*
[37] Fix | Delete
* * array('eventName' => 'methodName')
[38] Fix | Delete
* * array('eventName' => array('methodName', $priority))
[39] Fix | Delete
* * array('eventName' => array(array('methodName1', $priority), array('methodName2')))
[40] Fix | Delete
*
[41] Fix | Delete
* @return array The event names to listen to
[42] Fix | Delete
*/
[43] Fix | Delete
public static function getSubscribedEvents();
[44] Fix | Delete
}
[45] Fix | Delete
[46] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function