{"action":"created","comment":{"url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/pulls/comments/28643380","id":28643380,"diff_hunk":"@@ -1,10 +1,30 @@\n+parameters:\n+    amsterdamphp_site.integration.youtube_factory.class: AmsterdamPHP\\Bundle\\SiteBundle\\Service\\YoutubeFactory\n+    amsterdamphp_site.integration.youtube_client.class: Madcoda\\Youtube\n+\n services:\n+    amsterdamphp_site.integration.youtube_factory:\n+        class: %amsterdamphp_site.integration.youtube_factory.class%\n+        arguments:\n+            key: %youtube_key%\n+\n+    amsterdamphp_site.integration.youtube_client:\n+        class:            \"%amsterdamphp_site.integration.youtube_client.class%\"\n+        factory_service:  amsterdamphp_site.integration.youtube_factory\n+        factory_method:   getClient","path":"src/AmsterdamPHP/Bundle/SiteBundle/Resources/config/services.yml","position":14,"original_position":14,"commit_id":"1d4a1745d7c82abefcf0e9c7589be1c034a1749b","original_commit_id":"1d4a1745d7c82abefcf0e9c7589be1c034a1749b","user":{"login":"WyriHaximus","id":147145,"avatar_url":"https://avatars.githubusercontent.com/u/147145?v=3","gravatar_id":"","url":"https://api.github.com/users/WyriHaximus","html_url":"https://github.com/WyriHaximus","followers_url":"https://api.github.com/users/WyriHaximus/followers","following_url":"https://api.github.com/users/WyriHaximus/following{/other_user}","gists_url":"https://api.github.com/users/WyriHaximus/gists{/gist_id}","starred_url":"https://api.github.com/users/WyriHaximus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WyriHaximus/subscriptions","organizations_url":"https://api.github.com/users/WyriHaximus/orgs","repos_url":"https://api.github.com/users/WyriHaximus/repos","events_url":"https://api.github.com/users/WyriHaximus/events{/privacy}","received_events_url":"https://api.github.com/users/WyriHaximus/received_events","type":"User","site_admin":false},"body":"After talking with you this was my assumption as how you preferred to have it setup. (Heck I took you meetup bundle as example.) If this is fine I'll let it be but if you really prefer instantiating the client directly I'll change it to that.","created_at":"2015-04-18T11:34:09Z","updated_at":"2015-04-18T11:34:09Z","html_url":"https://github.com/AmsterdamPHP/amsterdamphp.nl/pull/77#discussion_r28643380","pull_request_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/pulls/77","_links":{"self":{"href":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/pulls/comments/28643380"},"html":{"href":"https://github.com/AmsterdamPHP/amsterdamphp.nl/pull/77#discussion_r28643380"},"pull_request":{"href":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/pulls/77"}}},"pull_request":{"url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/pulls/77","id":24891794,"html_url":"https://github.com/AmsterdamPHP/amsterdamphp.nl/pull/77","diff_url":"https://github.com/AmsterdamPHP/amsterdamphp.nl/pull/77.diff","patch_url":"https://github.com/AmsterdamPHP/amsterdamphp.nl/pull/77.patch","issue_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/issues/77","number":77,"state":"open","locked":false,"title":"Youtube service","user":{"login":"WyriHaximus","id":147145,"avatar_url":"https://avatars.githubusercontent.com/u/147145?v=3","gravatar_id":"","url":"https://api.github.com/users/WyriHaximus","html_url":"https://github.com/WyriHaximus","followers_url":"https://api.github.com/users/WyriHaximus/followers","following_url":"https://api.github.com/users/WyriHaximus/following{/other_user}","gists_url":"https://api.github.com/users/WyriHaximus/gists{/gist_id}","starred_url":"https://api.github.com/users/WyriHaximus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WyriHaximus/subscriptions","organizations_url":"https://api.github.com/users/WyriHaximus/orgs","repos_url":"https://api.github.com/users/WyriHaximus/repos","events_url":"https://api.github.com/users/WyriHaximus/events{/privacy}","received_events_url":"https://api.github.com/users/WyriHaximus/received_events","type":"User","site_admin":false},"body":"Youtube service for #72 ","created_at":"2014-11-22T18:39:37Z","updated_at":"2015-04-18T11:34:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e7484f899aff8c17600fe4563fc98fdca2db3f2f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/pulls/77/commits","review_comments_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/pulls/77/comments","review_comment_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/issues/77/comments","statuses_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/statuses/1d4a1745d7c82abefcf0e9c7589be1c034a1749b","head":{"label":"WyriHaximus:master","ref":"master","sha":"1d4a1745d7c82abefcf0e9c7589be1c034a1749b","user":{"login":"WyriHaximus","id":147145,"avatar_url":"https://avatars.githubusercontent.com/u/147145?v=3","gravatar_id":"","url":"https://api.github.com/users/WyriHaximus","html_url":"https://github.com/WyriHaximus","followers_url":"https://api.github.com/users/WyriHaximus/followers","following_url":"https://api.github.com/users/WyriHaximus/following{/other_user}","gists_url":"https://api.github.com/users/WyriHaximus/gists{/gist_id}","starred_url":"https://api.github.com/users/WyriHaximus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WyriHaximus/subscriptions","organizations_url":"https://api.github.com/users/WyriHaximus/orgs","repos_url":"https://api.github.com/users/WyriHaximus/repos","events_url":"https://api.github.com/users/WyriHaximus/events{/privacy}","received_events_url":"https://api.github.com/users/WyriHaximus/received_events","type":"User","site_admin":false},"repo":{"id":26997218,"name":"amsterdamphp.nl","full_name":"WyriHaximus/amsterdamphp.nl","owner":{"login":"WyriHaximus","id":147145,"avatar_url":"https://avatars.githubusercontent.com/u/147145?v=3","gravatar_id":"","url":"https://api.github.com/users/WyriHaximus","html_url":"https://github.com/WyriHaximus","followers_url":"https://api.github.com/users/WyriHaximus/followers","following_url":"https://api.github.com/users/WyriHaximus/following{/other_user}","gists_url":"https://api.github.com/users/WyriHaximus/gists{/gist_id}","starred_url":"https://api.github.com/users/WyriHaximus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WyriHaximus/subscriptions","organizations_url":"https://api.github.com/users/WyriHaximus/orgs","repos_url":"https://api.github.com/users/WyriHaximus/repos","events_url":"https://api.github.com/users/WyriHaximus/events{/privacy}","received_events_url":"https://api.github.com/users/WyriHaximus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/WyriHaximus/amsterdamphp.nl","description":"The website fo the AmsterdamPHP User Group","fork":true,"url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl","forks_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/forks","keys_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/teams","hooks_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/hooks","issue_events_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/issues/events{/number}","events_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/events","assignees_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/assignees{/user}","branches_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/branches{/branch}","tags_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/tags","blobs_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/git/refs{/sha}","trees_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/statuses/{sha}","languages_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/languages","stargazers_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/stargazers","contributors_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/contributors","subscribers_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/subscribers","subscription_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/subscription","commits_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/commits{/sha}","git_commits_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/git/commits{/sha}","comments_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/comments{/number}","issue_comment_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/issues/comments{/number}","contents_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/contents/{+path}","compare_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/merges","archive_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/downloads","issues_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/issues{/number}","pulls_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/pulls{/number}","milestones_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/milestones{/number}","notifications_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/labels{/name}","releases_url":"https://api.github.com/repos/WyriHaximus/amsterdamphp.nl/releases{/id}","created_at":"2014-11-22T11:42:14Z","updated_at":"2015-04-18T10:57:45Z","pushed_at":"2015-04-18T10:57:44Z","git_url":"git://github.com/WyriHaximus/amsterdamphp.nl.git","ssh_url":"git@github.com:WyriHaximus/amsterdamphp.nl.git","clone_url":"https://github.com/WyriHaximus/amsterdamphp.nl.git","svn_url":"https://github.com/WyriHaximus/amsterdamphp.nl","homepage":null,"size":15817,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"AmsterdamPHP:master","ref":"master","sha":"ce8ef4ca9aedb14849b458b3b205815328d98665","user":{"login":"AmsterdamPHP","id":1743139,"avatar_url":"https://avatars.githubusercontent.com/u/1743139?v=3","gravatar_id":"","url":"https://api.github.com/users/AmsterdamPHP","html_url":"https://github.com/AmsterdamPHP","followers_url":"https://api.github.com/users/AmsterdamPHP/followers","following_url":"https://api.github.com/users/AmsterdamPHP/following{/other_user}","gists_url":"https://api.github.com/users/AmsterdamPHP/gists{/gist_id}","starred_url":"https://api.github.com/users/AmsterdamPHP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmsterdamPHP/subscriptions","organizations_url":"https://api.github.com/users/AmsterdamPHP/orgs","repos_url":"https://api.github.com/users/AmsterdamPHP/repos","events_url":"https://api.github.com/users/AmsterdamPHP/events{/privacy}","received_events_url":"https://api.github.com/users/AmsterdamPHP/received_events","type":"Organization","site_admin":false},"repo":{"id":8608869,"name":"amsterdamphp.nl","full_name":"AmsterdamPHP/amsterdamphp.nl","owner":{"login":"AmsterdamPHP","id":1743139,"avatar_url":"https://avatars.githubusercontent.com/u/1743139?v=3","gravatar_id":"","url":"https://api.github.com/users/AmsterdamPHP","html_url":"https://github.com/AmsterdamPHP","followers_url":"https://api.github.com/users/AmsterdamPHP/followers","following_url":"https://api.github.com/users/AmsterdamPHP/following{/other_user}","gists_url":"https://api.github.com/users/AmsterdamPHP/gists{/gist_id}","starred_url":"https://api.github.com/users/AmsterdamPHP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmsterdamPHP/subscriptions","organizations_url":"https://api.github.com/users/AmsterdamPHP/orgs","repos_url":"https://api.github.com/users/AmsterdamPHP/repos","events_url":"https://api.github.com/users/AmsterdamPHP/events{/privacy}","received_events_url":"https://api.github.com/users/AmsterdamPHP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AmsterdamPHP/amsterdamphp.nl","description":"The website fo the AmsterdamPHP User Group","fork":false,"url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl","forks_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/forks","keys_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/teams","hooks_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/hooks","issue_events_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/issues/events{/number}","events_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/events","assignees_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/assignees{/user}","branches_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/branches{/branch}","tags_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/tags","blobs_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/git/refs{/sha}","trees_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/statuses/{sha}","languages_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/languages","stargazers_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/stargazers","contributors_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/contributors","subscribers_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/subscribers","subscription_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/subscription","commits_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/commits{/sha}","git_commits_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/git/commits{/sha}","comments_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/comments{/number}","issue_comment_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/issues/comments{/number}","contents_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/contents/{+path}","compare_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/merges","archive_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/downloads","issues_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/issues{/number}","pulls_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/pulls{/number}","milestones_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/milestones{/number}","notifications_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/labels{/name}","releases_url":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/releases{/id}","created_at":"2013-03-06T17:21:42Z","updated_at":"2015-04-16T11:30:00Z","pushed_at":"2015-04-18T10:57:45Z","git_url":"git://github.com/AmsterdamPHP/amsterdamphp.nl.git","ssh_url":"git@github.com:AmsterdamPHP/amsterdamphp.nl.git","clone_url":"https://github.com/AmsterdamPHP/amsterdamphp.nl.git","svn_url":"https://github.com/AmsterdamPHP/amsterdamphp.nl","homepage":null,"size":16463,"stargazers_count":15,"watchers_count":15,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":23,"forks":10,"open_issues":23,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/pulls/77"},"html":{"href":"https://github.com/AmsterdamPHP/amsterdamphp.nl/pull/77"},"issue":{"href":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/issues/77"},"comments":{"href":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/issues/77/comments"},"review_comments":{"href":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/pulls/77/comments"},"review_comment":{"href":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/pulls/77/commits"},"statuses":{"href":"https://api.github.com/repos/AmsterdamPHP/amsterdamphp.nl/statuses/1d4a1745d7c82abefcf0e9c7589be1c034a1749b"}}}}