{"action":"opened","issue":{"url":"https://api.github.com/repos/Kdyby/Events/issues/92","repository_url":"https://api.github.com/repos/Kdyby/Events","labels_url":"https://api.github.com/repos/Kdyby/Events/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/Kdyby/Events/issues/92/comments","events_url":"https://api.github.com/repos/Kdyby/Events/issues/92/events","html_url":"https://github.com/Kdyby/Events/issues/92","id":139416160,"number":92,"title":"Full Symfony EventDispatcher's support (with EventSubscriberInterface)","user":{"login":"hranicka","id":3034538,"avatar_url":"https://avatars.githubusercontent.com/u/3034538?v=3","gravatar_id":"","url":"https://api.github.com/users/hranicka","html_url":"https://github.com/hranicka","followers_url":"https://api.github.com/users/hranicka/followers","following_url":"https://api.github.com/users/hranicka/following{/other_user}","gists_url":"https://api.github.com/users/hranicka/gists{/gist_id}","starred_url":"https://api.github.com/users/hranicka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hranicka/subscriptions","organizations_url":"https://api.github.com/users/hranicka/orgs","repos_url":"https://api.github.com/users/hranicka/repos","events_url":"https://api.github.com/users/hranicka/events{/privacy}","received_events_url":"https://api.github.com/users/hranicka/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-08T22:43:39Z","updated_at":"2016-03-08T22:43:39Z","closed_at":null,"body":"Maybe this refs to #89 \r\n\r\nCurrently, only **Doctrine Events** are fully supported.\r\n\r\nThey're supported **[Symfony Events]** too, but only partially. It's supported only [event dispatching](https://github.com/Kdyby/Events/blob/master/src/Kdyby/Events/SymfonyDispatcher.php).\r\n\r\nMy problem:\r\n\r\nI want to use Symfony Console + Monolog + Symfony Monolog Bridge.\r\nIt's realized via [this subscriber](https://github.com/symfony/monolog-bridge/blob/master/Handler/ConsoleHandler.php).\r\n\r\nBut I cannot register this subscriber (eg. with tags in config). **It's not a Doctrine EventSubscriber**.\r\n\r\nI've made another extension of Kdyby/Events extension:\r\nhttps://github.com/etten/symfony-events\r\n\r\n---\r\n\r\nShould I create a PR to this repo for full built-in support of Symfony Events?\r\n\r\nI think a lot of changes will be needed - the Symfony EventSubscriber requires static method and carries information about event name, handler method and priority."}}