{"action":"created","issue":{"url":"https://api.github.com/repos/thephpleague/container/issues/21","labels_url":"https://api.github.com/repos/thephpleague/container/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/thephpleague/container/issues/21/comments","events_url":"https://api.github.com/repos/thephpleague/container/issues/21/events","html_url":"https://github.com/thephpleague/container/issues/21","id":56238510,"number":21,"title":"Allow to create a new instance even if it is a singleton","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":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-02T13:47:46Z","updated_at":"2015-02-06T10:55:10Z","closed_at":"2015-02-05T22:07:02Z","body":"Singletons make sense in a normal application context. However in some cases you want to create a completely new instance of a singleton.\r\n\r\nUse case: default DB connection, new DB connection used elsewhere."},"comment":{"url":"https://api.github.com/repos/thephpleague/container/issues/comments/73219688","html_url":"https://github.com/thephpleague/container/issues/21#issuecomment-73219688","issue_url":"https://api.github.com/repos/thephpleague/container/issues/21","id":73219688,"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},"created_at":"2015-02-06T10:55:10Z","updated_at":"2015-02-06T10:55:10Z","body":"Possible? How? (without messing with special registering, which makes it a\nreal service locator)\n\nAlso, extra condition? It is the same as the get method, but WITHOUT the\ncheck for singleton.\n"}}