{"action":"opened","issue":{"url":"https://api.github.com/repos/thephpleague/container/issues/29","labels_url":"https://api.github.com/repos/thephpleague/container/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/thephpleague/container/issues/29/comments","events_url":"https://api.github.com/repos/thephpleague/container/issues/29/events","html_url":"https://github.com/thephpleague/container/issues/29","id":59522827,"number":29,"title":"Service providers are instantiated several times","user":{"login":"sagikazarmark","id":1226384,"avatar_url":"https://avatars.githubusercontent.com/u/1226384?v=3","gravatar_id":"","url":"https://api.github.com/users/sagikazarmark","html_url":"https://github.com/sagikazarmark","followers_url":"https://api.github.com/users/sagikazarmark/followers","following_url":"https://api.github.com/users/sagikazarmark/following{/other_user}","gists_url":"https://api.github.com/users/sagikazarmark/gists{/gist_id}","starred_url":"https://api.github.com/users/sagikazarmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagikazarmark/subscriptions","organizations_url":"https://api.github.com/users/sagikazarmark/orgs","repos_url":"https://api.github.com/users/sagikazarmark/repos","events_url":"https://api.github.com/users/sagikazarmark/events{/privacy}","received_events_url":"https://api.github.com/users/sagikazarmark/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-02T18:28:06Z","updated_at":"2015-03-02T18:28:06Z","closed_at":null,"body":"Currently every service provider, which is added to the container is instantiated by the container every time it checks a service provider. Furthermore, `setContainer` is called every time as well which is unnecessary if the service provider is already instantiated."}}