{"action":"created","issue":{"url":"https://api.github.com/repos/thephpleague/route/issues/13","labels_url":"https://api.github.com/repos/thephpleague/route/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/thephpleague/route/issues/13/comments","events_url":"https://api.github.com/repos/thephpleague/route/issues/13/events","html_url":"https://github.com/thephpleague/route/pull/13","id":56137496,"number":13,"title":"Add route arguments in the MethodArgument Strategy","user":{"login":"TishoTM","id":2495428,"avatar_url":"https://avatars.githubusercontent.com/u/2495428?v=3","gravatar_id":"","url":"https://api.github.com/users/TishoTM","html_url":"https://github.com/TishoTM","followers_url":"https://api.github.com/users/TishoTM/followers","following_url":"https://api.github.com/users/TishoTM/following{/other_user}","gists_url":"https://api.github.com/users/TishoTM/gists{/gist_id}","starred_url":"https://api.github.com/users/TishoTM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TishoTM/subscriptions","organizations_url":"https://api.github.com/users/TishoTM/orgs","repos_url":"https://api.github.com/users/TishoTM/repos","events_url":"https://api.github.com/users/TishoTM/events{/privacy}","received_events_url":"https://api.github.com/users/TishoTM/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-31T20:11:11Z","updated_at":"2015-02-01T01:34:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/thephpleague/route/pulls/13","html_url":"https://github.com/thephpleague/route/pull/13","diff_url":"https://github.com/thephpleague/route/pull/13.diff","patch_url":"https://github.com/thephpleague/route/pull/13.patch"},"body":"We can determine if it is closure or a class with its method, retrieve all the dependencies and also pass the route arguments."},"comment":{"url":"https://api.github.com/repos/thephpleague/route/issues/comments/72346428","html_url":"https://github.com/thephpleague/route/pull/13#issuecomment-72346428","issue_url":"https://api.github.com/repos/thephpleague/route/issues/13","id":72346428,"user":{"login":"TishoTM","id":2495428,"avatar_url":"https://avatars.githubusercontent.com/u/2495428?v=3","gravatar_id":"","url":"https://api.github.com/users/TishoTM","html_url":"https://github.com/TishoTM","followers_url":"https://api.github.com/users/TishoTM/followers","following_url":"https://api.github.com/users/TishoTM/following{/other_user}","gists_url":"https://api.github.com/users/TishoTM/gists{/gist_id}","starred_url":"https://api.github.com/users/TishoTM/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TishoTM/subscriptions","organizations_url":"https://api.github.com/users/TishoTM/orgs","repos_url":"https://api.github.com/users/TishoTM/repos","events_url":"https://api.github.com/users/TishoTM/events{/privacy}","received_events_url":"https://api.github.com/users/TishoTM/received_events","type":"User","site_admin":false},"created_at":"2015-02-01T01:34:13Z","updated_at":"2015-02-01T01:34:13Z","body":"Actually, saw the #12 after I pulled mine.\r\nI was following the other strategies (RequestResponseStrategy and RestfulStrategy) concept of returning an associative array of the arguments as a last method argument.\r\n\r\nThe Hannes' solution is slightly different and actually is better approach for passing the arguments this way in all the strategies and be consistent."}}