{"action":"opened","number":688,"pull_request":{"url":"https://api.github.com/repos/shopware/shopware/pulls/688","id":82852952,"html_url":"https://github.com/shopware/shopware/pull/688","diff_url":"https://github.com/shopware/shopware/pull/688.diff","patch_url":"https://github.com/shopware/shopware/pull/688.patch","issue_url":"https://api.github.com/repos/shopware/shopware/issues/688","number":688,"state":"open","locked":false,"title":"[FEATURE] Use DI container to load API resources","user":{"login":"PortaltechGithub","id":11871912,"avatar_url":"https://avatars.githubusercontent.com/u/11871912?v=3","gravatar_id":"","url":"https://api.github.com/users/PortaltechGithub","html_url":"https://github.com/PortaltechGithub","followers_url":"https://api.github.com/users/PortaltechGithub/followers","following_url":"https://api.github.com/users/PortaltechGithub/following{/other_user}","gists_url":"https://api.github.com/users/PortaltechGithub/gists{/gist_id}","starred_url":"https://api.github.com/users/PortaltechGithub/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PortaltechGithub/subscriptions","organizations_url":"https://api.github.com/users/PortaltechGithub/orgs","repos_url":"https://api.github.com/users/PortaltechGithub/repos","events_url":"https://api.github.com/users/PortaltechGithub/events{/privacy}","received_events_url":"https://api.github.com/users/PortaltechGithub/received_events","type":"User","site_admin":false},"body":"Currently the API resources are initialized using `new`. With this change, they are loaded via the DI container, which allows to extend or replace them later on in own plugins. For clarity, I have used the new namespace `shopware.api` in the service definition.","created_at":"2016-08-26T08:52:40Z","updated_at":"2016-08-26T08:52:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/shopware/shopware/pulls/688/commits","review_comments_url":"https://api.github.com/repos/shopware/shopware/pulls/688/comments","review_comment_url":"https://api.github.com/repos/shopware/shopware/pulls/comments{/number}","comments_url":"https://api.github.com/repos/shopware/shopware/issues/688/comments","statuses_url":"https://api.github.com/repos/shopware/shopware/statuses/3f2944fe7dc5323cae22c31b630d6b0f7421da19","head":{"label":"Pttde:feature/apiResourcesFromDi","ref":"feature/apiResourcesFromDi","sha":"3f2944fe7dc5323cae22c31b630d6b0f7421da19","user":{"login":"Pttde","id":11872337,"avatar_url":"https://avatars.githubusercontent.com/u/11872337?v=3","gravatar_id":"","url":"https://api.github.com/users/Pttde","html_url":"https://github.com/Pttde","followers_url":"https://api.github.com/users/Pttde/followers","following_url":"https://api.github.com/users/Pttde/following{/other_user}","gists_url":"https://api.github.com/users/Pttde/gists{/gist_id}","starred_url":"https://api.github.com/users/Pttde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pttde/subscriptions","organizations_url":"https://api.github.com/users/Pttde/orgs","repos_url":"https://api.github.com/users/Pttde/repos","events_url":"https://api.github.com/users/Pttde/events{/privacy}","received_events_url":"https://api.github.com/users/Pttde/received_events","type":"Organization","site_admin":false},"repo":{"id":33674242,"name":"shopware","full_name":"Pttde/shopware","owner":{"login":"Pttde","id":11872337,"avatar_url":"https://avatars.githubusercontent.com/u/11872337?v=3","gravatar_id":"","url":"https://api.github.com/users/Pttde","html_url":"https://github.com/Pttde","followers_url":"https://api.github.com/users/Pttde/followers","following_url":"https://api.github.com/users/Pttde/following{/other_user}","gists_url":"https://api.github.com/users/Pttde/gists{/gist_id}","starred_url":"https://api.github.com/users/Pttde/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Pttde/subscriptions","organizations_url":"https://api.github.com/users/Pttde/orgs","repos_url":"https://api.github.com/users/Pttde/repos","events_url":"https://api.github.com/users/Pttde/events{/privacy}","received_events_url":"https://api.github.com/users/Pttde/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Pttde/shopware","description":"Shopware Repository","fork":true,"url":"https://api.github.com/repos/Pttde/shopware","forks_url":"https://api.github.com/repos/Pttde/shopware/forks","keys_url":"https://api.github.com/repos/Pttde/shopware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Pttde/shopware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Pttde/shopware/teams","hooks_url":"https://api.github.com/repos/Pttde/shopware/hooks","issue_events_url":"https://api.github.com/repos/Pttde/shopware/issues/events{/number}","events_url":"https://api.github.com/repos/Pttde/shopware/events","assignees_url":"https://api.github.com/repos/Pttde/shopware/assignees{/user}","branches_url":"https://api.github.com/repos/Pttde/shopware/branches{/branch}","tags_url":"https://api.github.com/repos/Pttde/shopware/tags","blobs_url":"https://api.github.com/repos/Pttde/shopware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Pttde/shopware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Pttde/shopware/git/refs{/sha}","trees_url":"https://api.github.com/repos/Pttde/shopware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Pttde/shopware/statuses/{sha}","languages_url":"https://api.github.com/repos/Pttde/shopware/languages","stargazers_url":"https://api.github.com/repos/Pttde/shopware/stargazers","contributors_url":"https://api.github.com/repos/Pttde/shopware/contributors","subscribers_url":"https://api.github.com/repos/Pttde/shopware/subscribers","subscription_url":"https://api.github.com/repos/Pttde/shopware/subscription","commits_url":"https://api.github.com/repos/Pttde/shopware/commits{/sha}","git_commits_url":"https://api.github.com/repos/Pttde/shopware/git/commits{/sha}","comments_url":"https://api.github.com/repos/Pttde/shopware/comments{/number}","issue_comment_url":"https://api.github.com/repos/Pttde/shopware/issues/comments{/number}","contents_url":"https://api.github.com/repos/Pttde/shopware/contents/{+path}","compare_url":"https://api.github.com/repos/Pttde/shopware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Pttde/shopware/merges","archive_url":"https://api.github.com/repos/Pttde/shopware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Pttde/shopware/downloads","issues_url":"https://api.github.com/repos/Pttde/shopware/issues{/number}","pulls_url":"https://api.github.com/repos/Pttde/shopware/pulls{/number}","milestones_url":"https://api.github.com/repos/Pttde/shopware/milestones{/number}","notifications_url":"https://api.github.com/repos/Pttde/shopware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Pttde/shopware/labels{/name}","releases_url":"https://api.github.com/repos/Pttde/shopware/releases{/id}","deployments_url":"https://api.github.com/repos/Pttde/shopware/deployments","created_at":"2015-04-09T14:39:26Z","updated_at":"2016-08-25T12:29:57Z","pushed_at":"2016-08-26T08:44:44Z","git_url":"git://github.com/Pttde/shopware.git","ssh_url":"git@github.com:Pttde/shopware.git","clone_url":"https://github.com/Pttde/shopware.git","svn_url":"https://github.com/Pttde/shopware","homepage":"http://www.shopware.com","size":157289,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"5.2"}},"base":{"label":"shopware:5.2","ref":"5.2","sha":"e856e35f0e87f31e415ce9c11f5f5e6d2521791b","user":{"login":"shopware","id":612628,"avatar_url":"https://avatars.githubusercontent.com/u/612628?v=3","gravatar_id":"","url":"https://api.github.com/users/shopware","html_url":"https://github.com/shopware","followers_url":"https://api.github.com/users/shopware/followers","following_url":"https://api.github.com/users/shopware/following{/other_user}","gists_url":"https://api.github.com/users/shopware/gists{/gist_id}","starred_url":"https://api.github.com/users/shopware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shopware/subscriptions","organizations_url":"https://api.github.com/users/shopware/orgs","repos_url":"https://api.github.com/users/shopware/repos","events_url":"https://api.github.com/users/shopware/events{/privacy}","received_events_url":"https://api.github.com/users/shopware/received_events","type":"Organization","site_admin":false},"repo":{"id":5682970,"name":"shopware","full_name":"shopware/shopware","owner":{"login":"shopware","id":612628,"avatar_url":"https://avatars.githubusercontent.com/u/612628?v=3","gravatar_id":"","url":"https://api.github.com/users/shopware","html_url":"https://github.com/shopware","followers_url":"https://api.github.com/users/shopware/followers","following_url":"https://api.github.com/users/shopware/following{/other_user}","gists_url":"https://api.github.com/users/shopware/gists{/gist_id}","starred_url":"https://api.github.com/users/shopware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shopware/subscriptions","organizations_url":"https://api.github.com/users/shopware/orgs","repos_url":"https://api.github.com/users/shopware/repos","events_url":"https://api.github.com/users/shopware/events{/privacy}","received_events_url":"https://api.github.com/users/shopware/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/shopware/shopware","description":"Shopware Repository","fork":false,"url":"https://api.github.com/repos/shopware/shopware","forks_url":"https://api.github.com/repos/shopware/shopware/forks","keys_url":"https://api.github.com/repos/shopware/shopware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/shopware/shopware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/shopware/shopware/teams","hooks_url":"https://api.github.com/repos/shopware/shopware/hooks","issue_events_url":"https://api.github.com/repos/shopware/shopware/issues/events{/number}","events_url":"https://api.github.com/repos/shopware/shopware/events","assignees_url":"https://api.github.com/repos/shopware/shopware/assignees{/user}","branches_url":"https://api.github.com/repos/shopware/shopware/branches{/branch}","tags_url":"https://api.github.com/repos/shopware/shopware/tags","blobs_url":"https://api.github.com/repos/shopware/shopware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/shopware/shopware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/shopware/shopware/git/refs{/sha}","trees_url":"https://api.github.com/repos/shopware/shopware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/shopware/shopware/statuses/{sha}","languages_url":"https://api.github.com/repos/shopware/shopware/languages","stargazers_url":"https://api.github.com/repos/shopware/shopware/stargazers","contributors_url":"https://api.github.com/repos/shopware/shopware/contributors","subscribers_url":"https://api.github.com/repos/shopware/shopware/subscribers","subscription_url":"https://api.github.com/repos/shopware/shopware/subscription","commits_url":"https://api.github.com/repos/shopware/shopware/commits{/sha}","git_commits_url":"https://api.github.com/repos/shopware/shopware/git/commits{/sha}","comments_url":"https://api.github.com/repos/shopware/shopware/comments{/number}","issue_comment_url":"https://api.github.com/repos/shopware/shopware/issues/comments{/number}","contents_url":"https://api.github.com/repos/shopware/shopware/contents/{+path}","compare_url":"https://api.github.com/repos/shopware/shopware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/shopware/shopware/merges","archive_url":"https://api.github.com/repos/shopware/shopware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/shopware/shopware/downloads","issues_url":"https://api.github.com/repos/shopware/shopware/issues{/number}","pulls_url":"https://api.github.com/repos/shopware/shopware/pulls{/number}","milestones_url":"https://api.github.com/repos/shopware/shopware/milestones{/number}","notifications_url":"https://api.github.com/repos/shopware/shopware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/shopware/shopware/labels{/name}","releases_url":"https://api.github.com/repos/shopware/shopware/releases{/id}","deployments_url":"https://api.github.com/repos/shopware/shopware/deployments","created_at":"2012-09-05T05:32:50Z","updated_at":"2016-08-25T18:16:24Z","pushed_at":"2016-08-25T14:22:13Z","git_url":"git://github.com/shopware/shopware.git","ssh_url":"git@github.com:shopware/shopware.git","clone_url":"https://github.com/shopware/shopware.git","svn_url":"https://github.com/shopware/shopware","homepage":"http://www.shopware.com","size":171959,"stargazers_count":505,"watchers_count":505,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":343,"mirror_url":null,"open_issues_count":86,"forks":343,"open_issues":86,"watchers":505,"default_branch":"5.2"}},"_links":{"self":{"href":"https://api.github.com/repos/shopware/shopware/pulls/688"},"html":{"href":"https://github.com/shopware/shopware/pull/688"},"issue":{"href":"https://api.github.com/repos/shopware/shopware/issues/688"},"comments":{"href":"https://api.github.com/repos/shopware/shopware/issues/688/comments"},"review_comments":{"href":"https://api.github.com/repos/shopware/shopware/pulls/688/comments"},"review_comment":{"href":"https://api.github.com/repos/shopware/shopware/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/shopware/shopware/pulls/688/commits"},"statuses":{"href":"https://api.github.com/repos/shopware/shopware/statuses/3f2944fe7dc5323cae22c31b630d6b0f7421da19"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":19,"deletions":9,"changed_files":3}}
{"actor":{"display_login":"PortaltechGithub"}}