{"action":"created","issue":{"url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/5094","repository_url":"https://api.github.com/repos/silverstripe/silverstripe-framework","labels_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/5094/labels{/name}","comments_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/5094/comments","events_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/5094/events","html_url":"https://github.com/silverstripe/silverstripe-framework/pull/5094","id":136277859,"number":5094,"title":"API Extensible::invokeWithExtension has same method signature as Extensible::extend","user":{"login":"tractorcow","id":936064,"avatar_url":"https://avatars.githubusercontent.com/u/936064?v=3","gravatar_id":"","url":"https://api.github.com/users/tractorcow","html_url":"https://github.com/tractorcow","followers_url":"https://api.github.com/users/tractorcow/followers","following_url":"https://api.github.com/users/tractorcow/following{/other_user}","gists_url":"https://api.github.com/users/tractorcow/gists{/gist_id}","starred_url":"https://api.github.com/users/tractorcow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tractorcow/subscriptions","organizations_url":"https://api.github.com/users/tractorcow/orgs","repos_url":"https://api.github.com/users/tractorcow/repos","events_url":"https://api.github.com/users/tractorcow/events{/privacy}","received_events_url":"https://api.github.com/users/tractorcow/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/silverstripe/silverstripe-framework/labels/in%20progress","name":"in progress","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/silverstripe/silverstripe-framework/milestones/26","html_url":"https://github.com/silverstripe/silverstripe-framework/milestones/4.0-alpha1","labels_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/milestones/26/labels","id":1353035,"number":26,"title":"4.0-alpha1","description":"This milestones tracks issue that *must* be completed before our alpha1 release. Please use it to track only release-blockers, not nice-to-haves.","creator":{"login":"sminnee","id":59968,"avatar_url":"https://avatars.githubusercontent.com/u/59968?v=3","gravatar_id":"","url":"https://api.github.com/users/sminnee","html_url":"https://github.com/sminnee","followers_url":"https://api.github.com/users/sminnee/followers","following_url":"https://api.github.com/users/sminnee/following{/other_user}","gists_url":"https://api.github.com/users/sminnee/gists{/gist_id}","starred_url":"https://api.github.com/users/sminnee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sminnee/subscriptions","organizations_url":"https://api.github.com/users/sminnee/orgs","repos_url":"https://api.github.com/users/sminnee/repos","events_url":"https://api.github.com/users/sminnee/events{/privacy}","received_events_url":"https://api.github.com/users/sminnee/received_events","type":"User","site_admin":false},"open_issues":16,"closed_issues":6,"state":"open","created_at":"2015-10-13T11:43:39Z","updated_at":"2016-02-25T04:34:45Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-02-25T04:34:41Z","updated_at":"2016-02-25T05:57:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/silverstripe/silverstripe-framework/pulls/5094","html_url":"https://github.com/silverstripe/silverstripe-framework/pull/5094","diff_url":"https://github.com/silverstripe/silverstripe-framework/pull/5094.diff","patch_url":"https://github.com/silverstripe/silverstripe-framework/pull/5094.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/comments/188627464","html_url":"https://github.com/silverstripe/silverstripe-framework/pull/5094#issuecomment-188627464","issue_url":"https://api.github.com/repos/silverstripe/silverstripe-framework/issues/5094","id":188627464,"user":{"login":"patricknelson","id":4269377,"avatar_url":"https://avatars.githubusercontent.com/u/4269377?v=3","gravatar_id":"","url":"https://api.github.com/users/patricknelson","html_url":"https://github.com/patricknelson","followers_url":"https://api.github.com/users/patricknelson/followers","following_url":"https://api.github.com/users/patricknelson/following{/other_user}","gists_url":"https://api.github.com/users/patricknelson/gists{/gist_id}","starred_url":"https://api.github.com/users/patricknelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patricknelson/subscriptions","organizations_url":"https://api.github.com/users/patricknelson/orgs","repos_url":"https://api.github.com/users/patricknelson/repos","events_url":"https://api.github.com/users/patricknelson/events{/privacy}","received_events_url":"https://api.github.com/users/patricknelson/received_events","type":"User","site_admin":false},"created_at":"2016-02-25T05:57:28Z","updated_at":"2016-02-25T05:57:28Z","body":"Awesome :sunglasses::+1: \r\n\r\nMaybe someday when we only support PHP 5.6 and up, we'll be able to transition over to the *much better* variadic syntax where basically all you'd need to do is:\r\n\r\n```php\r\npublic function invokeWithExtensions($method, &...$arguments) {\r\n    // Do stuff here.\r\n}\r\n```\r\n\r\n... so that then you can have unlimited arguments *and* by reference at that. For now though we'll have to settle with this ugliness since unfortunately `func_get_args()` doesn't support references :disappointed: \r\n\r\n"}}