Skip to content

Instantly share code, notes, and snippets.

@hannesvdvreken
Created September 28, 2015 13:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hannesvdvreken/ef9401604701ab69aaa0 to your computer and use it in GitHub Desktop.
Save hannesvdvreken/ef9401604701ab69aaa0 to your computer and use it in GitHub Desktop.
<?php
namespace League\Event;
interface ListenerInterface
{
/**
* Handle an event.
*
* @param EventInterface $event
*
* @return void
*/
public function handle(EventInterface $event);
/**
* Check whether the listener is the given parameter.
*
* @param mixed $listener
*
* @return bool
*/
public function isListener($listener);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment