{"action":"created","comment":{"url":"https://api.github.com/repos/pennyphp/penny/pulls/comments/40992528","id":40992528,"diff_hunk":"@@ -43,38 +43,13 @@ class App\n      */\n     public function __construct(ContainerInterface $container = null)\n     {\n-        $this->container = $container ?: static::buildContainer(Loader::load());\n-        $container = &$this->container;\n+        $this->container = $container ?: Container\\PHPDiFactory::buildContainer(Loader::load());\n \n         if ($container->has('router') == false) {","path":"src/App.php","position":19,"original_position":19,"commit_id":"4b77ea551e2da4a996cea1dc80f63d8911581b05","original_commit_id":"4b77ea551e2da4a996cea1dc80f63d8911581b05","user":{"login":"wdalmut","id":551974,"avatar_url":"https://avatars.githubusercontent.com/u/551974?v=3","gravatar_id":"","url":"https://api.github.com/users/wdalmut","html_url":"https://github.com/wdalmut","followers_url":"https://api.github.com/users/wdalmut/followers","following_url":"https://api.github.com/users/wdalmut/following{/other_user}","gists_url":"https://api.github.com/users/wdalmut/gists{/gist_id}","starred_url":"https://api.github.com/users/wdalmut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wdalmut/subscriptions","organizations_url":"https://api.github.com/users/wdalmut/orgs","repos_url":"https://api.github.com/users/wdalmut/repos","events_url":"https://api.github.com/users/wdalmut/events{/privacy}","received_events_url":"https://api.github.com/users/wdalmut/received_events","type":"User","site_admin":false},"body":"The `$container` variable is valid? Or should be `$this->container`?","created_at":"2015-10-02T05:31:29Z","updated_at":"2015-10-02T05:31:29Z","html_url":"https://github.com/pennyphp/penny/pull/79#discussion_r40992528","pull_request_url":"https://api.github.com/repos/pennyphp/penny/pulls/79","_links":{"self":{"href":"https://api.github.com/repos/pennyphp/penny/pulls/comments/40992528"},"html":{"href":"https://github.com/pennyphp/penny/pull/79#discussion_r40992528"},"pull_request":{"href":"https://api.github.com/repos/pennyphp/penny/pulls/79"}}},"pull_request":{"url":"https://api.github.com/repos/pennyphp/penny/pulls/79","id":46582464,"html_url":"https://github.com/pennyphp/penny/pull/79","diff_url":"https://github.com/pennyphp/penny/pull/79.diff","patch_url":"https://github.com/pennyphp/penny/pull/79.patch","issue_url":"https://api.github.com/repos/pennyphp/penny/issues/79","number":79,"state":"open","locked":false,"title":"Create container factory","user":{"login":"gianarb","id":1630267,"avatar_url":"https://avatars.githubusercontent.com/u/1630267?v=3","gravatar_id":"","url":"https://api.github.com/users/gianarb","html_url":"https://github.com/gianarb","followers_url":"https://api.github.com/users/gianarb/followers","following_url":"https://api.github.com/users/gianarb/following{/other_user}","gists_url":"https://api.github.com/users/gianarb/gists{/gist_id}","starred_url":"https://api.github.com/users/gianarb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gianarb/subscriptions","organizations_url":"https://api.github.com/users/gianarb/orgs","repos_url":"https://api.github.com/users/gianarb/repos","events_url":"https://api.github.com/users/gianarb/events{/privacy}","received_events_url":"https://api.github.com/users/gianarb/received_events","type":"User","site_admin":false},"body":"Reference #77\r\n\r\n@wdalmut","created_at":"2015-10-01T21:59:31Z","updated_at":"2015-10-02T05:31:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a88ecac59b8f45649ae95ae187fff865619b9c18","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pennyphp/penny/pulls/79/commits","review_comments_url":"https://api.github.com/repos/pennyphp/penny/pulls/79/comments","review_comment_url":"https://api.github.com/repos/pennyphp/penny/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pennyphp/penny/issues/79/comments","statuses_url":"https://api.github.com/repos/pennyphp/penny/statuses/4b77ea551e2da4a996cea1dc80f63d8911581b05","head":{"label":"pennyphp:feature/di-factory","ref":"feature/di-factory","sha":"4b77ea551e2da4a996cea1dc80f63d8911581b05","user":{"login":"pennyphp","id":13941432,"avatar_url":"https://avatars.githubusercontent.com/u/13941432?v=3","gravatar_id":"","url":"https://api.github.com/users/pennyphp","html_url":"https://github.com/pennyphp","followers_url":"https://api.github.com/users/pennyphp/followers","following_url":"https://api.github.com/users/pennyphp/following{/other_user}","gists_url":"https://api.github.com/users/pennyphp/gists{/gist_id}","starred_url":"https://api.github.com/users/pennyphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pennyphp/subscriptions","organizations_url":"https://api.github.com/users/pennyphp/orgs","repos_url":"https://api.github.com/users/pennyphp/repos","events_url":"https://api.github.com/users/pennyphp/events{/privacy}","received_events_url":"https://api.github.com/users/pennyphp/received_events","type":"Organization","site_admin":false},"repo":{"id":31985319,"name":"penny","full_name":"pennyphp/penny","owner":{"login":"pennyphp","id":13941432,"avatar_url":"https://avatars.githubusercontent.com/u/13941432?v=3","gravatar_id":"","url":"https://api.github.com/users/pennyphp","html_url":"https://github.com/pennyphp","followers_url":"https://api.github.com/users/pennyphp/followers","following_url":"https://api.github.com/users/pennyphp/following{/other_user}","gists_url":"https://api.github.com/users/pennyphp/gists{/gist_id}","starred_url":"https://api.github.com/users/pennyphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pennyphp/subscriptions","organizations_url":"https://api.github.com/users/pennyphp/orgs","repos_url":"https://api.github.com/users/pennyphp/repos","events_url":"https://api.github.com/users/pennyphp/events{/privacy}","received_events_url":"https://api.github.com/users/pennyphp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pennyphp/penny","description":":moneybag: Php Framework made of other components","fork":false,"url":"https://api.github.com/repos/pennyphp/penny","forks_url":"https://api.github.com/repos/pennyphp/penny/forks","keys_url":"https://api.github.com/repos/pennyphp/penny/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pennyphp/penny/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pennyphp/penny/teams","hooks_url":"https://api.github.com/repos/pennyphp/penny/hooks","issue_events_url":"https://api.github.com/repos/pennyphp/penny/issues/events{/number}","events_url":"https://api.github.com/repos/pennyphp/penny/events","assignees_url":"https://api.github.com/repos/pennyphp/penny/assignees{/user}","branches_url":"https://api.github.com/repos/pennyphp/penny/branches{/branch}","tags_url":"https://api.github.com/repos/pennyphp/penny/tags","blobs_url":"https://api.github.com/repos/pennyphp/penny/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pennyphp/penny/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pennyphp/penny/git/refs{/sha}","trees_url":"https://api.github.com/repos/pennyphp/penny/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pennyphp/penny/statuses/{sha}","languages_url":"https://api.github.com/repos/pennyphp/penny/languages","stargazers_url":"https://api.github.com/repos/pennyphp/penny/stargazers","contributors_url":"https://api.github.com/repos/pennyphp/penny/contributors","subscribers_url":"https://api.github.com/repos/pennyphp/penny/subscribers","subscription_url":"https://api.github.com/repos/pennyphp/penny/subscription","commits_url":"https://api.github.com/repos/pennyphp/penny/commits{/sha}","git_commits_url":"https://api.github.com/repos/pennyphp/penny/git/commits{/sha}","comments_url":"https://api.github.com/repos/pennyphp/penny/comments{/number}","issue_comment_url":"https://api.github.com/repos/pennyphp/penny/issues/comments{/number}","contents_url":"https://api.github.com/repos/pennyphp/penny/contents/{+path}","compare_url":"https://api.github.com/repos/pennyphp/penny/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pennyphp/penny/merges","archive_url":"https://api.github.com/repos/pennyphp/penny/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pennyphp/penny/downloads","issues_url":"https://api.github.com/repos/pennyphp/penny/issues{/number}","pulls_url":"https://api.github.com/repos/pennyphp/penny/pulls{/number}","milestones_url":"https://api.github.com/repos/pennyphp/penny/milestones{/number}","notifications_url":"https://api.github.com/repos/pennyphp/penny/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pennyphp/penny/labels{/name}","releases_url":"https://api.github.com/repos/pennyphp/penny/releases{/id}","created_at":"2015-03-10T22:29:25Z","updated_at":"2015-09-12T13:21:38Z","pushed_at":"2015-10-01T22:06:19Z","git_url":"git://github.com/pennyphp/penny.git","ssh_url":"git@github.com:pennyphp/penny.git","clone_url":"https://github.com/pennyphp/penny.git","svn_url":"https://github.com/pennyphp/penny","homepage":"http://pennyphp.org","size":910,"stargazers_count":24,"watchers_count":24,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":8,"forks":7,"open_issues":8,"watchers":24,"default_branch":"master"}},"base":{"label":"pennyphp:master","ref":"master","sha":"5d06703c24b9cacb752aa74d90d852a4239d9364","user":{"login":"pennyphp","id":13941432,"avatar_url":"https://avatars.githubusercontent.com/u/13941432?v=3","gravatar_id":"","url":"https://api.github.com/users/pennyphp","html_url":"https://github.com/pennyphp","followers_url":"https://api.github.com/users/pennyphp/followers","following_url":"https://api.github.com/users/pennyphp/following{/other_user}","gists_url":"https://api.github.com/users/pennyphp/gists{/gist_id}","starred_url":"https://api.github.com/users/pennyphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pennyphp/subscriptions","organizations_url":"https://api.github.com/users/pennyphp/orgs","repos_url":"https://api.github.com/users/pennyphp/repos","events_url":"https://api.github.com/users/pennyphp/events{/privacy}","received_events_url":"https://api.github.com/users/pennyphp/received_events","type":"Organization","site_admin":false},"repo":{"id":31985319,"name":"penny","full_name":"pennyphp/penny","owner":{"login":"pennyphp","id":13941432,"avatar_url":"https://avatars.githubusercontent.com/u/13941432?v=3","gravatar_id":"","url":"https://api.github.com/users/pennyphp","html_url":"https://github.com/pennyphp","followers_url":"https://api.github.com/users/pennyphp/followers","following_url":"https://api.github.com/users/pennyphp/following{/other_user}","gists_url":"https://api.github.com/users/pennyphp/gists{/gist_id}","starred_url":"https://api.github.com/users/pennyphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pennyphp/subscriptions","organizations_url":"https://api.github.com/users/pennyphp/orgs","repos_url":"https://api.github.com/users/pennyphp/repos","events_url":"https://api.github.com/users/pennyphp/events{/privacy}","received_events_url":"https://api.github.com/users/pennyphp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pennyphp/penny","description":":moneybag: Php Framework made of other components","fork":false,"url":"https://api.github.com/repos/pennyphp/penny","forks_url":"https://api.github.com/repos/pennyphp/penny/forks","keys_url":"https://api.github.com/repos/pennyphp/penny/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pennyphp/penny/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pennyphp/penny/teams","hooks_url":"https://api.github.com/repos/pennyphp/penny/hooks","issue_events_url":"https://api.github.com/repos/pennyphp/penny/issues/events{/number}","events_url":"https://api.github.com/repos/pennyphp/penny/events","assignees_url":"https://api.github.com/repos/pennyphp/penny/assignees{/user}","branches_url":"https://api.github.com/repos/pennyphp/penny/branches{/branch}","tags_url":"https://api.github.com/repos/pennyphp/penny/tags","blobs_url":"https://api.github.com/repos/pennyphp/penny/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pennyphp/penny/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pennyphp/penny/git/refs{/sha}","trees_url":"https://api.github.com/repos/pennyphp/penny/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pennyphp/penny/statuses/{sha}","languages_url":"https://api.github.com/repos/pennyphp/penny/languages","stargazers_url":"https://api.github.com/repos/pennyphp/penny/stargazers","contributors_url":"https://api.github.com/repos/pennyphp/penny/contributors","subscribers_url":"https://api.github.com/repos/pennyphp/penny/subscribers","subscription_url":"https://api.github.com/repos/pennyphp/penny/subscription","commits_url":"https://api.github.com/repos/pennyphp/penny/commits{/sha}","git_commits_url":"https://api.github.com/repos/pennyphp/penny/git/commits{/sha}","comments_url":"https://api.github.com/repos/pennyphp/penny/comments{/number}","issue_comment_url":"https://api.github.com/repos/pennyphp/penny/issues/comments{/number}","contents_url":"https://api.github.com/repos/pennyphp/penny/contents/{+path}","compare_url":"https://api.github.com/repos/pennyphp/penny/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pennyphp/penny/merges","archive_url":"https://api.github.com/repos/pennyphp/penny/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pennyphp/penny/downloads","issues_url":"https://api.github.com/repos/pennyphp/penny/issues{/number}","pulls_url":"https://api.github.com/repos/pennyphp/penny/pulls{/number}","milestones_url":"https://api.github.com/repos/pennyphp/penny/milestones{/number}","notifications_url":"https://api.github.com/repos/pennyphp/penny/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pennyphp/penny/labels{/name}","releases_url":"https://api.github.com/repos/pennyphp/penny/releases{/id}","created_at":"2015-03-10T22:29:25Z","updated_at":"2015-09-12T13:21:38Z","pushed_at":"2015-10-01T22:06:19Z","git_url":"git://github.com/pennyphp/penny.git","ssh_url":"git@github.com:pennyphp/penny.git","clone_url":"https://github.com/pennyphp/penny.git","svn_url":"https://github.com/pennyphp/penny","homepage":"http://pennyphp.org","size":910,"stargazers_count":24,"watchers_count":24,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":8,"forks":7,"open_issues":8,"watchers":24,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pennyphp/penny/pulls/79"},"html":{"href":"https://github.com/pennyphp/penny/pull/79"},"issue":{"href":"https://api.github.com/repos/pennyphp/penny/issues/79"},"comments":{"href":"https://api.github.com/repos/pennyphp/penny/issues/79/comments"},"review_comments":{"href":"https://api.github.com/repos/pennyphp/penny/pulls/79/comments"},"review_comment":{"href":"https://api.github.com/repos/pennyphp/penny/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pennyphp/penny/pulls/79/commits"},"statuses":{"href":"https://api.github.com/repos/pennyphp/penny/statuses/4b77ea551e2da4a996cea1dc80f63d8911581b05"}}}}