{"action":"opened","issue":{"url":"https://api.github.com/repos/Jalle19/tvheadend-status-manager/issues/9","repository_url":"https://api.github.com/repos/Jalle19/tvheadend-status-manager","labels_url":"https://api.github.com/repos/Jalle19/tvheadend-status-manager/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/Jalle19/tvheadend-status-manager/issues/9/comments","events_url":"https://api.github.com/repos/Jalle19/tvheadend-status-manager/issues/9/events","html_url":"https://github.com/Jalle19/tvheadend-status-manager/issues/9","id":140895382,"number":9,"title":"Use a container instead of our custom Application class","user":{"login":"Jalle19","id":1106133,"avatar_url":"https://avatars.githubusercontent.com/u/1106133?v=3","gravatar_id":"","url":"https://api.github.com/users/Jalle19","html_url":"https://github.com/Jalle19","followers_url":"https://api.github.com/users/Jalle19/followers","following_url":"https://api.github.com/users/Jalle19/following{/other_user}","gists_url":"https://api.github.com/users/Jalle19/gists{/gist_id}","starred_url":"https://api.github.com/users/Jalle19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jalle19/subscriptions","organizations_url":"https://api.github.com/users/Jalle19/orgs","repos_url":"https://api.github.com/users/Jalle19/repos","events_url":"https://api.github.com/users/Jalle19/events{/privacy}","received_events_url":"https://api.github.com/users/Jalle19/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-15T07:21:55Z","updated_at":"2016-03-15T07:21:55Z","closed_at":null,"body":"Something like http://container.thephpleague.com/\r\n\r\nThe benefits are roughly:\r\n\r\n* we wouldn't need an `Application` class\r\n* The statistics and persistence managers don't need to be \"alive\" throughout the application life-time, they can be instantiated when required\r\n* We would most likely be able to get rid of `BaseManager` which is just a semi-ugly way of being able to access common dependencies."}}