Overview

Namespaces

  • Evenement
  • None
  • PHP
  • Psr
    • Http
      • Message
  • Ratchet
    • Http
    • RFC6455
      • Handshake
      • Messaging
    • Server
    • Session
      • Serialize
      • Storage
        • Proxy
    • Wamp
    • WebSocket
  • React
    • EventLoop
      • Tick
      • Timer
    • Socket
    • Stream
  • Symfony
    • Component
      • HttpFoundation
        • Session
          • Attribute
          • Flash
          • Storage
            • Handler
            • Proxy
      • Routing
        • Annotation
        • Exception
        • Generator
          • Dumper
        • Loader
          • DependencyInjection
        • Matcher
          • Dumper
        • Tests
          • Annotation
          • Fixtures
            • AnnotatedClasses
            • OtherAnnotatedClasses
          • Generator
            • Dumper
          • Loader
          • Matcher
            • Dumper

Classes

  • EventEmitter

Interfaces

  • EventEmitterInterface

Traits

  • EventEmitterTrait
  • Overview
  • Namespace
  • Class
  • Tree
 1: <?php
 2: 
 3: /*
 4:  * This file is part of Evenement.
 5:  *
 6:  * (c) Igor Wiedler <[email protected]>
 7:  *
 8:  * For the full copyright and license information, please view the LICENSE
 9:  * file that was distributed with this source code.
10:  */
11: 
12: namespace Evenement;
13: 
14: interface EventEmitterInterface
15: {
16:     public function on($event, callable $listener);
17:     public function once($event, callable $listener);
18:     public function removeListener($event, callable $listener);
19:     public function removeAllListeners($event = null);
20:     public function listeners($event);
21:     public function emit($event, array $arguments = []);
22: }
23: 
Ratchet API documentation generated by ApiGen 2.8.0