Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
<?php
2
declare(strict_types=1);
3
 
4
namespace Psr\EventDispatcher;
5
 
6
/**
7
 * Defines a dispatcher for events.
8
 */
9
interface EventDispatcherInterface
10
{
11
    /**
12
     * Provide all relevant listeners with an event to process.
13
     *
14
     * @param object $event
15
     *   The object to process.
16
     *
17
     * @return object
18
     *   The Event that was passed, now modified by listeners.
19
     */
20
    public function dispatch(object $event);
21
}