{"comment":{"url":"https://api.github.com/repos/acvos/bubbles-container/comments/10697722","html_url":"https://github.com/acvos/bubbles-container/commit/05ef9370da5c0c9ada5872b5fcf3132dd594c37f#commitcomment-10697722","id":10697722,"user":{"login":"marco-roy","id":4805057,"avatar_url":"https://avatars.githubusercontent.com/u/4805057?v=3","gravatar_id":"","url":"https://api.github.com/users/marco-roy","html_url":"https://github.com/marco-roy","followers_url":"https://api.github.com/users/marco-roy/followers","following_url":"https://api.github.com/users/marco-roy/following{/other_user}","gists_url":"https://api.github.com/users/marco-roy/gists{/gist_id}","starred_url":"https://api.github.com/users/marco-roy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marco-roy/subscriptions","organizations_url":"https://api.github.com/users/marco-roy/orgs","repos_url":"https://api.github.com/users/marco-roy/repos","events_url":"https://api.github.com/users/marco-roy/events{/privacy}","received_events_url":"https://api.github.com/users/marco-roy/received_events","type":"User","site_admin":false},"position":38,"line":62,"path":"src/Acvos/Bubbles/Service/PositionalBindingFactory.php","commit_id":"05ef9370da5c0c9ada5872b5fcf3132dd594c37f","created_at":"2015-04-13T17:48:44Z","updated_at":"2015-04-13T17:48:44Z","body":"One of the issues is that the constructor can be private (such as the typical singleton implementation). `is_callable` would catch that, but not `hasMethod`.\r\n\r\nIf the constructor is private, it should probably throw an exception. Unless bubbles has a way to configure an alternative way to get the instance, other than via constructor."}}