-
-
Save m4nuC/bead34ef5b294be3816f to your computer and use it in GitHub Desktop.
This file contains 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 | |
class StubEventListener { | |
public function __construct(SomeInterface $i) {} | |
public function f() {} | |
} | |
class SomeClass{ | |
public function __construct(NonExistantInterface)t{} | |
} | |
App::bind('SomeInterface', 'SomeClass'); | |
Event::listen('test.event', 'StubEventListener@f'); | |
Event::fire('test.event', []); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment