Edit File by line
/home/barbar84/www/wp-conte.../plugins/worker/src/Symfony/EventDis...
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
/**
[11] Fix | Delete
* An EventSubscriber knows himself what events he is interested in.
[12] Fix | Delete
* If an EventSubscriber is added to an EventDispatcherInterface, the manager invokes
[13] Fix | Delete
* {@link getSubscribedEvents} and registers the subscriber as a listener for all
[14] Fix | Delete
* returned events.
[15] Fix | Delete
*
[16] Fix | Delete
* @author Guilherme Blanco <guilhermeblanco@hotmail.com>
[17] Fix | Delete
* @author Jonathan Wage <jonwage@gmail.com>
[18] Fix | Delete
* @author Roman Borschel <roman@code-factory.org>
[19] Fix | Delete
* @author Bernhard Schussek <bschussek@gmail.com>
[20] Fix | Delete
*
[21] Fix | Delete
* @api
[22] Fix | Delete
*/
[23] Fix | Delete
interface Symfony_EventDispatcher_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
* @api
[44] Fix | Delete
*/
[45] Fix | Delete
public static function getSubscribedEvents();
[46] Fix | Delete
}
[47] Fix | Delete
[48] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function