{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/16361","labels_url":"https://api.github.com/repos/symfony/symfony/issues/16361/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/16361/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/16361/events","html_url":"https://github.com/symfony/symfony/pull/16361","id":113718047,"number":16361,"title":"Re-adding the ability to add a resource to the RouteCollectionBuilder","user":{"login":"weaverryan","id":121003,"avatar_url":"https://avatars.githubusercontent.com/u/121003?v=3","gravatar_id":"","url":"https://api.github.com/users/weaverryan","html_url":"https://github.com/weaverryan","followers_url":"https://api.github.com/users/weaverryan/followers","following_url":"https://api.github.com/users/weaverryan/following{/other_user}","gists_url":"https://api.github.com/users/weaverryan/gists{/gist_id}","starred_url":"https://api.github.com/users/weaverryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weaverryan/subscriptions","organizations_url":"https://api.github.com/users/weaverryan/orgs","repos_url":"https://api.github.com/users/weaverryan/repos","events_url":"https://api.github.com/users/weaverryan/events{/privacy}","received_events_url":"https://api.github.com/users/weaverryan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/symfony/symfony/labels/Bug","name":"Bug","color":"e10c02"},{"url":"https://api.github.com/repos/symfony/symfony/labels/Status:%20Needs%20Review","name":"Status: Needs Review","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-28T00:34:14Z","updated_at":"2015-11-04T16:02:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/symfony/symfony/pulls/16361","html_url":"https://github.com/symfony/symfony/pull/16361","diff_url":"https://github.com/symfony/symfony/pull/16361.diff","patch_url":"https://github.com/symfony/symfony/pull/16361.patch"},"body":"| Q             | A\r\n| ------------- | ---\r\n| Bug fix?      | yes\r\n| New feature?  | no\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Tests pass?   | yes\r\n| Fixed tickets | n/a\r\n| License       | MIT\r\n| Doc PR        | n/a\r\n\r\nAt the end of #15778, I removed the ability to add a resource to the RouteCollectionBuilder. But, this is needed (at least internally): if you import, the returned RouteCollection may have resources, which need to be brought forward into the new RouteCollectionBuilder (the code in `import()` to do this already exists, but is calling an undefined `addResource()` method).\r\n\r\nThis adds the test with minimal code to fix.\r\n\r\nP.S. Fabien told me to remove `addResource` originally... so isn't this *kind of* his fault?"},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/153774900","html_url":"https://github.com/symfony/symfony/pull/16361#issuecomment-153774900","issue_url":"https://api.github.com/repos/symfony/symfony/issues/16361","id":153774900,"user":{"login":"weaverryan","id":121003,"avatar_url":"https://avatars.githubusercontent.com/u/121003?v=3","gravatar_id":"","url":"https://api.github.com/users/weaverryan","html_url":"https://github.com/weaverryan","followers_url":"https://api.github.com/users/weaverryan/followers","following_url":"https://api.github.com/users/weaverryan/following{/other_user}","gists_url":"https://api.github.com/users/weaverryan/gists{/gist_id}","starred_url":"https://api.github.com/users/weaverryan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weaverryan/subscriptions","organizations_url":"https://api.github.com/users/weaverryan/orgs","repos_url":"https://api.github.com/users/weaverryan/repos","events_url":"https://api.github.com/users/weaverryan/events{/privacy}","received_events_url":"https://api.github.com/users/weaverryan/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T16:02:38Z","updated_at":"2015-11-04T16:02:38Z","body":"Rebased! And I just realized I had originally pushed this branch to `symfony/symfony` - not my fork. If you don't, I'll delete that after the merge."}}