{"action":"created","comment":{"url":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments/60826761","id":60826761,"diff_hunk":"@@ -812,6 +817,64 @@ allow for an optional dependency::\n             // ...\n         }\n \n+The \"ignore\" behavior when a service does not exist is context sensitive:\n+\n+- When used as a standard argument, the argument will be set to ``null``;\n+- When used within a method call, the method call itself will be removed;\n+- When used on a collection argument, the argument will be removed.","path":"book/service_container.rst","position":24,"original_position":24,"commit_id":"322a5fa016f1ce8d7b72f5d55e93171c0dafb376","original_commit_id":"322a5fa016f1ce8d7b72f5d55e93171c0dafb376","user":{"login":"dantleech","id":530801,"avatar_url":"https://avatars.githubusercontent.com/u/530801?v=3","gravatar_id":"","url":"https://api.github.com/users/dantleech","html_url":"https://github.com/dantleech","followers_url":"https://api.github.com/users/dantleech/followers","following_url":"https://api.github.com/users/dantleech/following{/other_user}","gists_url":"https://api.github.com/users/dantleech/gists{/gist_id}","starred_url":"https://api.github.com/users/dantleech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dantleech/subscriptions","organizations_url":"https://api.github.com/users/dantleech/orgs","repos_url":"https://api.github.com/users/dantleech/repos","events_url":"https://api.github.com/users/dantleech/events{/privacy}","received_events_url":"https://api.github.com/users/dantleech/received_events","type":"User","site_admin":false},"body":"This is only in Symfony 3.0 I think ..","created_at":"2016-04-23T10:46:35Z","updated_at":"2016-04-23T10:46:35Z","html_url":"https://github.com/symfony/symfony-docs/pull/6511#discussion_r60826761","pull_request_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/6511","_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments/60826761"},"html":{"href":"https://github.com/symfony/symfony-docs/pull/6511#discussion_r60826761"},"pull_request":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/6511"}}},"pull_request":{"url":"https://api.github.com/repos/symfony/symfony-docs/pulls/6511","id":67601012,"html_url":"https://github.com/symfony/symfony-docs/pull/6511","diff_url":"https://github.com/symfony/symfony-docs/pull/6511.diff","patch_url":"https://github.com/symfony/symfony-docs/pull/6511.patch","issue_url":"https://api.github.com/repos/symfony/symfony-docs/issues/6511","number":6511,"state":"open","locked":false,"title":"Added note about on-ignore=null","user":{"login":"dantleech","id":530801,"avatar_url":"https://avatars.githubusercontent.com/u/530801?v=3","gravatar_id":"","url":"https://api.github.com/users/dantleech","html_url":"https://github.com/dantleech","followers_url":"https://api.github.com/users/dantleech/followers","following_url":"https://api.github.com/users/dantleech/following{/other_user}","gists_url":"https://api.github.com/users/dantleech/gists{/gist_id}","starred_url":"https://api.github.com/users/dantleech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dantleech/subscriptions","organizations_url":"https://api.github.com/users/dantleech/orgs","repos_url":"https://api.github.com/users/dantleech/repos","events_url":"https://api.github.com/users/dantleech/events{/privacy}","received_events_url":"https://api.github.com/users/dantleech/received_events","type":"User","site_admin":false},"body":"| Q             | A\r\n| ------------- | ---\r\n| Doc fix?      | yes\r\n| New docs?     | yes\r\n| Applies to    | 2.3+\r\n\r\nThe `on-ignore=null` behavior of the DI container arguments is currently undocumented.","created_at":"2016-04-23T08:53:10Z","updated_at":"2016-04-23T10:46:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"24043750cc104878509a7e73f3cecd3e18f46a12","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/6511/commits","review_comments_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/6511/comments","review_comment_url":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/symfony/symfony-docs/issues/6511/comments","statuses_url":"https://api.github.com/repos/symfony/symfony-docs/statuses/322a5fa016f1ce8d7b72f5d55e93171c0dafb376","head":{"label":"dantleech:on-ignore-null","ref":"on-ignore-null","sha":"322a5fa016f1ce8d7b72f5d55e93171c0dafb376","user":{"login":"dantleech","id":530801,"avatar_url":"https://avatars.githubusercontent.com/u/530801?v=3","gravatar_id":"","url":"https://api.github.com/users/dantleech","html_url":"https://github.com/dantleech","followers_url":"https://api.github.com/users/dantleech/followers","following_url":"https://api.github.com/users/dantleech/following{/other_user}","gists_url":"https://api.github.com/users/dantleech/gists{/gist_id}","starred_url":"https://api.github.com/users/dantleech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dantleech/subscriptions","organizations_url":"https://api.github.com/users/dantleech/orgs","repos_url":"https://api.github.com/users/dantleech/repos","events_url":"https://api.github.com/users/dantleech/events{/privacy}","received_events_url":"https://api.github.com/users/dantleech/received_events","type":"User","site_admin":false},"repo":{"id":7040048,"name":"symfony-docs","full_name":"dantleech/symfony-docs","owner":{"login":"dantleech","id":530801,"avatar_url":"https://avatars.githubusercontent.com/u/530801?v=3","gravatar_id":"","url":"https://api.github.com/users/dantleech","html_url":"https://github.com/dantleech","followers_url":"https://api.github.com/users/dantleech/followers","following_url":"https://api.github.com/users/dantleech/following{/other_user}","gists_url":"https://api.github.com/users/dantleech/gists{/gist_id}","starred_url":"https://api.github.com/users/dantleech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dantleech/subscriptions","organizations_url":"https://api.github.com/users/dantleech/orgs","repos_url":"https://api.github.com/users/dantleech/repos","events_url":"https://api.github.com/users/dantleech/events{/privacy}","received_events_url":"https://api.github.com/users/dantleech/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dantleech/symfony-docs","description":"The Symfony2 documentation","fork":true,"url":"https://api.github.com/repos/dantleech/symfony-docs","forks_url":"https://api.github.com/repos/dantleech/symfony-docs/forks","keys_url":"https://api.github.com/repos/dantleech/symfony-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dantleech/symfony-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dantleech/symfony-docs/teams","hooks_url":"https://api.github.com/repos/dantleech/symfony-docs/hooks","issue_events_url":"https://api.github.com/repos/dantleech/symfony-docs/issues/events{/number}","events_url":"https://api.github.com/repos/dantleech/symfony-docs/events","assignees_url":"https://api.github.com/repos/dantleech/symfony-docs/assignees{/user}","branches_url":"https://api.github.com/repos/dantleech/symfony-docs/branches{/branch}","tags_url":"https://api.github.com/repos/dantleech/symfony-docs/tags","blobs_url":"https://api.github.com/repos/dantleech/symfony-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dantleech/symfony-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dantleech/symfony-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/dantleech/symfony-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dantleech/symfony-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/dantleech/symfony-docs/languages","stargazers_url":"https://api.github.com/repos/dantleech/symfony-docs/stargazers","contributors_url":"https://api.github.com/repos/dantleech/symfony-docs/contributors","subscribers_url":"https://api.github.com/repos/dantleech/symfony-docs/subscribers","subscription_url":"https://api.github.com/repos/dantleech/symfony-docs/subscription","commits_url":"https://api.github.com/repos/dantleech/symfony-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/dantleech/symfony-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/dantleech/symfony-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/dantleech/symfony-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/dantleech/symfony-docs/contents/{+path}","compare_url":"https://api.github.com/repos/dantleech/symfony-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dantleech/symfony-docs/merges","archive_url":"https://api.github.com/repos/dantleech/symfony-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dantleech/symfony-docs/downloads","issues_url":"https://api.github.com/repos/dantleech/symfony-docs/issues{/number}","pulls_url":"https://api.github.com/repos/dantleech/symfony-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/dantleech/symfony-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/dantleech/symfony-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dantleech/symfony-docs/labels{/name}","releases_url":"https://api.github.com/repos/dantleech/symfony-docs/releases{/id}","deployments_url":"https://api.github.com/repos/dantleech/symfony-docs/deployments","created_at":"2012-12-06T17:43:52Z","updated_at":"2013-12-23T22:45:27Z","pushed_at":"2016-04-23T10:39:52Z","git_url":"git://github.com/dantleech/symfony-docs.git","ssh_url":"git@github.com:dantleech/symfony-docs.git","clone_url":"https://github.com/dantleech/symfony-docs.git","svn_url":"https://github.com/dantleech/symfony-docs","homepage":"http://symfony.com/doc/current/","size":32460,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":false,"has_wiki":false,"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":"symfony:2.3","ref":"2.3","sha":"bbec4cce67bcec5efa4e567be73a04b850867a0a","user":{"login":"symfony","id":143937,"avatar_url":"https://avatars.githubusercontent.com/u/143937?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony","html_url":"https://github.com/symfony","followers_url":"https://api.github.com/users/symfony/followers","following_url":"https://api.github.com/users/symfony/following{/other_user}","gists_url":"https://api.github.com/users/symfony/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony/subscriptions","organizations_url":"https://api.github.com/users/symfony/orgs","repos_url":"https://api.github.com/users/symfony/repos","events_url":"https://api.github.com/users/symfony/events{/privacy}","received_events_url":"https://api.github.com/users/symfony/received_events","type":"Organization","site_admin":false},"repo":{"id":521583,"name":"symfony-docs","full_name":"symfony/symfony-docs","owner":{"login":"symfony","id":143937,"avatar_url":"https://avatars.githubusercontent.com/u/143937?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony","html_url":"https://github.com/symfony","followers_url":"https://api.github.com/users/symfony/followers","following_url":"https://api.github.com/users/symfony/following{/other_user}","gists_url":"https://api.github.com/users/symfony/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony/subscriptions","organizations_url":"https://api.github.com/users/symfony/orgs","repos_url":"https://api.github.com/users/symfony/repos","events_url":"https://api.github.com/users/symfony/events{/privacy}","received_events_url":"https://api.github.com/users/symfony/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/symfony/symfony-docs","description":"The Symfony documentation","fork":false,"url":"https://api.github.com/repos/symfony/symfony-docs","forks_url":"https://api.github.com/repos/symfony/symfony-docs/forks","keys_url":"https://api.github.com/repos/symfony/symfony-docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/symfony/symfony-docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/symfony/symfony-docs/teams","hooks_url":"https://api.github.com/repos/symfony/symfony-docs/hooks","issue_events_url":"https://api.github.com/repos/symfony/symfony-docs/issues/events{/number}","events_url":"https://api.github.com/repos/symfony/symfony-docs/events","assignees_url":"https://api.github.com/repos/symfony/symfony-docs/assignees{/user}","branches_url":"https://api.github.com/repos/symfony/symfony-docs/branches{/branch}","tags_url":"https://api.github.com/repos/symfony/symfony-docs/tags","blobs_url":"https://api.github.com/repos/symfony/symfony-docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/symfony/symfony-docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/symfony/symfony-docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/symfony/symfony-docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/symfony/symfony-docs/statuses/{sha}","languages_url":"https://api.github.com/repos/symfony/symfony-docs/languages","stargazers_url":"https://api.github.com/repos/symfony/symfony-docs/stargazers","contributors_url":"https://api.github.com/repos/symfony/symfony-docs/contributors","subscribers_url":"https://api.github.com/repos/symfony/symfony-docs/subscribers","subscription_url":"https://api.github.com/repos/symfony/symfony-docs/subscription","commits_url":"https://api.github.com/repos/symfony/symfony-docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/symfony/symfony-docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/symfony/symfony-docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/symfony/symfony-docs/issues/comments{/number}","contents_url":"https://api.github.com/repos/symfony/symfony-docs/contents/{+path}","compare_url":"https://api.github.com/repos/symfony/symfony-docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/symfony/symfony-docs/merges","archive_url":"https://api.github.com/repos/symfony/symfony-docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/symfony/symfony-docs/downloads","issues_url":"https://api.github.com/repos/symfony/symfony-docs/issues{/number}","pulls_url":"https://api.github.com/repos/symfony/symfony-docs/pulls{/number}","milestones_url":"https://api.github.com/repos/symfony/symfony-docs/milestones{/number}","notifications_url":"https://api.github.com/repos/symfony/symfony-docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/symfony/symfony-docs/labels{/name}","releases_url":"https://api.github.com/repos/symfony/symfony-docs/releases{/id}","deployments_url":"https://api.github.com/repos/symfony/symfony-docs/deployments","created_at":"2010-02-17T08:43:51Z","updated_at":"2016-04-21T17:16:54Z","pushed_at":"2016-04-23T10:39:54Z","git_url":"git://github.com/symfony/symfony-docs.git","ssh_url":"git@github.com:symfony/symfony-docs.git","clone_url":"https://github.com/symfony/symfony-docs.git","svn_url":"https://github.com/symfony/symfony-docs","homepage":"http://symfony.com/doc","size":54686,"stargazers_count":1096,"watchers_count":1096,"language":"C++","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":2380,"mirror_url":null,"open_issues_count":318,"forks":2380,"open_issues":318,"watchers":1096,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/6511"},"html":{"href":"https://github.com/symfony/symfony-docs/pull/6511"},"issue":{"href":"https://api.github.com/repos/symfony/symfony-docs/issues/6511"},"comments":{"href":"https://api.github.com/repos/symfony/symfony-docs/issues/6511/comments"},"review_comments":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/6511/comments"},"review_comment":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/symfony/symfony-docs/pulls/6511/commits"},"statuses":{"href":"https://api.github.com/repos/symfony/symfony-docs/statuses/322a5fa016f1ce8d7b72f5d55e93171c0dafb376"}}}}