{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/11603","labels_url":"https://api.github.com/repos/laravel/framework/issues/11603/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/11603/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/11603/events","html_url":"https://github.com/laravel/framework/pull/11603","id":124228636,"number":11603,"title":"[5.1] Fix event dispatcher to allow removal of wildcard listeners","user":{"login":"EliasZ","id":530685,"avatar_url":"https://avatars.githubusercontent.com/u/530685?v=3","gravatar_id":"","url":"https://api.github.com/users/EliasZ","html_url":"https://github.com/EliasZ","followers_url":"https://api.github.com/users/EliasZ/followers","following_url":"https://api.github.com/users/EliasZ/following{/other_user}","gists_url":"https://api.github.com/users/EliasZ/gists{/gist_id}","starred_url":"https://api.github.com/users/EliasZ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EliasZ/subscriptions","organizations_url":"https://api.github.com/users/EliasZ/orgs","repos_url":"https://api.github.com/users/EliasZ/repos","events_url":"https://api.github.com/users/EliasZ/events{/privacy}","received_events_url":"https://api.github.com/users/EliasZ/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/laravel/framework/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-29T15:45:56Z","updated_at":"2015-12-30T09:35:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/laravel/framework/pulls/11603","html_url":"https://github.com/laravel/framework/pull/11603","diff_url":"https://github.com/laravel/framework/pull/11603.diff","patch_url":"https://github.com/laravel/framework/pull/11603.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/167967120","html_url":"https://github.com/laravel/framework/pull/11603#issuecomment-167967120","issue_url":"https://api.github.com/repos/laravel/framework/issues/11603","id":167967120,"user":{"login":"ArjanSchouten","id":5930718,"avatar_url":"https://avatars.githubusercontent.com/u/5930718?v=3","gravatar_id":"","url":"https://api.github.com/users/ArjanSchouten","html_url":"https://github.com/ArjanSchouten","followers_url":"https://api.github.com/users/ArjanSchouten/followers","following_url":"https://api.github.com/users/ArjanSchouten/following{/other_user}","gists_url":"https://api.github.com/users/ArjanSchouten/gists{/gist_id}","starred_url":"https://api.github.com/users/ArjanSchouten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArjanSchouten/subscriptions","organizations_url":"https://api.github.com/users/ArjanSchouten/orgs","repos_url":"https://api.github.com/users/ArjanSchouten/repos","events_url":"https://api.github.com/users/ArjanSchouten/events{/privacy}","received_events_url":"https://api.github.com/users/ArjanSchouten/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T09:35:55Z","updated_at":"2015-12-30T09:35:55Z","body":"I want to check the following with the ```hasListeners``` method:\r\n```php\r\n$d = new Dispatcher;\r\n$this->assertFalse($d->hasListeners('foo.*'));\r\n\r\n$d->listen('foo.*', function () { null; });\r\n$this->assertTrue($d->hasListeners('foo.bar'));\r\n```\r\n\r\nThat isn't working with this implementation. Think it's something to implement in a different PR @GrahamCampbell?"}}