Created
September 28, 2015 13:08
-
-
Save hannesvdvreken/52276c1ac81ff0fa62a8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace League\Event; | |
abstract class AbstractListener implements ListenerInterface | |
{ | |
/** | |
* {@inheritdoc} | |
*/ | |
public function isListener($listener) | |
{ | |
return $this === $listener; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment