{"action":"created","comment":{"url":"https://api.github.com/repos/dannyvankooten/PHP-Router/pulls/comments/23412482","id":23412482,"diff_hunk":"@@ -49,6 +49,7 @@ public function __construct($resource, array $config)\n         $this->_config = $config;\n         $this->_methods = isset($config['methods']) ? $config['methods'] : array();\n         $this->_target = isset($config['target']) ? $config['target'] : null;\n+\t\t$this->_name = isset($config['name']) ? $config['name'] : null;","path":"src/PHPRouter/Route.php","position":4,"original_position":4,"commit_id":"b221fef795d319bc0788d5b2608c9265a6fb0401","original_commit_id":"b221fef795d319bc0788d5b2608c9265a6fb0401","user":{"login":"malukenho","id":3275172,"avatar_url":"https://avatars.githubusercontent.com/u/3275172?v=3","gravatar_id":"","url":"https://api.github.com/users/malukenho","html_url":"https://github.com/malukenho","followers_url":"https://api.github.com/users/malukenho/followers","following_url":"https://api.github.com/users/malukenho/following{/other_user}","gists_url":"https://api.github.com/users/malukenho/gists{/gist_id}","starred_url":"https://api.github.com/users/malukenho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malukenho/subscriptions","organizations_url":"https://api.github.com/users/malukenho/orgs","repos_url":"https://api.github.com/users/malukenho/repos","events_url":"https://api.github.com/users/malukenho/events{/privacy}","received_events_url":"https://api.github.com/users/malukenho/received_events","type":"User","site_admin":false},"body":"use space instead tab","created_at":"2015-01-22T21:42:14Z","updated_at":"2015-01-22T21:42:14Z","html_url":"https://github.com/dannyvankooten/PHP-Router/pull/47#discussion_r23412482","pull_request_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/pulls/47","_links":{"self":{"href":"https://api.github.com/repos/dannyvankooten/PHP-Router/pulls/comments/23412482"},"html":{"href":"https://github.com/dannyvankooten/PHP-Router/pull/47#discussion_r23412482"},"pull_request":{"href":"https://api.github.com/repos/dannyvankooten/PHP-Router/pulls/47"}}},"pull_request":{"url":"https://api.github.com/repos/dannyvankooten/PHP-Router/pulls/47","id":27859035,"html_url":"https://github.com/dannyvankooten/PHP-Router/pull/47","diff_url":"https://github.com/dannyvankooten/PHP-Router/pull/47.diff","patch_url":"https://github.com/dannyvankooten/PHP-Router/pull/47.patch","issue_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/issues/47","number":47,"state":"open","locked":false,"title":"Reverse routing correction","user":{"login":"jakon89","id":4528083,"avatar_url":"https://avatars.githubusercontent.com/u/4528083?v=3","gravatar_id":"","url":"https://api.github.com/users/jakon89","html_url":"https://github.com/jakon89","followers_url":"https://api.github.com/users/jakon89/followers","following_url":"https://api.github.com/users/jakon89/following{/other_user}","gists_url":"https://api.github.com/users/jakon89/gists{/gist_id}","starred_url":"https://api.github.com/users/jakon89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakon89/subscriptions","organizations_url":"https://api.github.com/users/jakon89/orgs","repos_url":"https://api.github.com/users/jakon89/repos","events_url":"https://api.github.com/users/jakon89/events{/privacy}","received_events_url":"https://api.github.com/users/jakon89/received_events","type":"User","site_admin":false},"body":"Hi,\r\nReverse routing didn't work so I rewrite this method and added some tests.\r\nRegards","created_at":"2015-01-22T17:05:46Z","updated_at":"2015-01-22T21:42:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"899c08e9098e8b27c22fa94915a1e6e0ed14f264","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/pulls/47/commits","review_comments_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/pulls/47/comments","review_comment_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/pulls/comments/{number}","comments_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/issues/47/comments","statuses_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/statuses/b221fef795d319bc0788d5b2608c9265a6fb0401","head":{"label":"jakon89:master","ref":"master","sha":"b221fef795d319bc0788d5b2608c9265a6fb0401","user":{"login":"jakon89","id":4528083,"avatar_url":"https://avatars.githubusercontent.com/u/4528083?v=3","gravatar_id":"","url":"https://api.github.com/users/jakon89","html_url":"https://github.com/jakon89","followers_url":"https://api.github.com/users/jakon89/followers","following_url":"https://api.github.com/users/jakon89/following{/other_user}","gists_url":"https://api.github.com/users/jakon89/gists{/gist_id}","starred_url":"https://api.github.com/users/jakon89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakon89/subscriptions","organizations_url":"https://api.github.com/users/jakon89/orgs","repos_url":"https://api.github.com/users/jakon89/repos","events_url":"https://api.github.com/users/jakon89/events{/privacy}","received_events_url":"https://api.github.com/users/jakon89/received_events","type":"User","site_admin":false},"repo":{"id":29689529,"name":"PHP-Router","full_name":"jakon89/PHP-Router","owner":{"login":"jakon89","id":4528083,"avatar_url":"https://avatars.githubusercontent.com/u/4528083?v=3","gravatar_id":"","url":"https://api.github.com/users/jakon89","html_url":"https://github.com/jakon89","followers_url":"https://api.github.com/users/jakon89/followers","following_url":"https://api.github.com/users/jakon89/following{/other_user}","gists_url":"https://api.github.com/users/jakon89/gists{/gist_id}","starred_url":"https://api.github.com/users/jakon89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakon89/subscriptions","organizations_url":"https://api.github.com/users/jakon89/orgs","repos_url":"https://api.github.com/users/jakon89/repos","events_url":"https://api.github.com/users/jakon89/events{/privacy}","received_events_url":"https://api.github.com/users/jakon89/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jakon89/PHP-Router","description":"Simple PHP Router class (supports REST and reverse routing)","fork":true,"url":"https://api.github.com/repos/jakon89/PHP-Router","forks_url":"https://api.github.com/repos/jakon89/PHP-Router/forks","keys_url":"https://api.github.com/repos/jakon89/PHP-Router/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jakon89/PHP-Router/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jakon89/PHP-Router/teams","hooks_url":"https://api.github.com/repos/jakon89/PHP-Router/hooks","issue_events_url":"https://api.github.com/repos/jakon89/PHP-Router/issues/events{/number}","events_url":"https://api.github.com/repos/jakon89/PHP-Router/events","assignees_url":"https://api.github.com/repos/jakon89/PHP-Router/assignees{/user}","branches_url":"https://api.github.com/repos/jakon89/PHP-Router/branches{/branch}","tags_url":"https://api.github.com/repos/jakon89/PHP-Router/tags","blobs_url":"https://api.github.com/repos/jakon89/PHP-Router/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jakon89/PHP-Router/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jakon89/PHP-Router/git/refs{/sha}","trees_url":"https://api.github.com/repos/jakon89/PHP-Router/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jakon89/PHP-Router/statuses/{sha}","languages_url":"https://api.github.com/repos/jakon89/PHP-Router/languages","stargazers_url":"https://api.github.com/repos/jakon89/PHP-Router/stargazers","contributors_url":"https://api.github.com/repos/jakon89/PHP-Router/contributors","subscribers_url":"https://api.github.com/repos/jakon89/PHP-Router/subscribers","subscription_url":"https://api.github.com/repos/jakon89/PHP-Router/subscription","commits_url":"https://api.github.com/repos/jakon89/PHP-Router/commits{/sha}","git_commits_url":"https://api.github.com/repos/jakon89/PHP-Router/git/commits{/sha}","comments_url":"https://api.github.com/repos/jakon89/PHP-Router/comments{/number}","issue_comment_url":"https://api.github.com/repos/jakon89/PHP-Router/issues/comments/{number}","contents_url":"https://api.github.com/repos/jakon89/PHP-Router/contents/{+path}","compare_url":"https://api.github.com/repos/jakon89/PHP-Router/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jakon89/PHP-Router/merges","archive_url":"https://api.github.com/repos/jakon89/PHP-Router/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jakon89/PHP-Router/downloads","issues_url":"https://api.github.com/repos/jakon89/PHP-Router/issues{/number}","pulls_url":"https://api.github.com/repos/jakon89/PHP-Router/pulls{/number}","milestones_url":"https://api.github.com/repos/jakon89/PHP-Router/milestones{/number}","notifications_url":"https://api.github.com/repos/jakon89/PHP-Router/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jakon89/PHP-Router/labels{/name}","releases_url":"https://api.github.com/repos/jakon89/PHP-Router/releases{/id}","created_at":"2015-01-22T17:00:23Z","updated_at":"2015-01-22T17:01:08Z","pushed_at":"2015-01-22T17:01:08Z","git_url":"git://github.com/jakon89/PHP-Router.git","ssh_url":"git@github.com:jakon89/PHP-Router.git","clone_url":"https://github.com/jakon89/PHP-Router.git","svn_url":"https://github.com/jakon89/PHP-Router","homepage":"","size":507,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"dannyvankooten:master","ref":"master","sha":"274b75c1618f69b695caa91d2c7ba0f67f0e774c","user":{"login":"dannyvankooten","id":885856,"avatar_url":"https://avatars.githubusercontent.com/u/885856?v=3","gravatar_id":"","url":"https://api.github.com/users/dannyvankooten","html_url":"https://github.com/dannyvankooten","followers_url":"https://api.github.com/users/dannyvankooten/followers","following_url":"https://api.github.com/users/dannyvankooten/following{/other_user}","gists_url":"https://api.github.com/users/dannyvankooten/gists{/gist_id}","starred_url":"https://api.github.com/users/dannyvankooten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dannyvankooten/subscriptions","organizations_url":"https://api.github.com/users/dannyvankooten/orgs","repos_url":"https://api.github.com/users/dannyvankooten/repos","events_url":"https://api.github.com/users/dannyvankooten/events{/privacy}","received_events_url":"https://api.github.com/users/dannyvankooten/received_events","type":"User","site_admin":false},"repo":{"id":2861520,"name":"PHP-Router","full_name":"dannyvankooten/PHP-Router","owner":{"login":"dannyvankooten","id":885856,"avatar_url":"https://avatars.githubusercontent.com/u/885856?v=3","gravatar_id":"","url":"https://api.github.com/users/dannyvankooten","html_url":"https://github.com/dannyvankooten","followers_url":"https://api.github.com/users/dannyvankooten/followers","following_url":"https://api.github.com/users/dannyvankooten/following{/other_user}","gists_url":"https://api.github.com/users/dannyvankooten/gists{/gist_id}","starred_url":"https://api.github.com/users/dannyvankooten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dannyvankooten/subscriptions","organizations_url":"https://api.github.com/users/dannyvankooten/orgs","repos_url":"https://api.github.com/users/dannyvankooten/repos","events_url":"https://api.github.com/users/dannyvankooten/events{/privacy}","received_events_url":"https://api.github.com/users/dannyvankooten/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dannyvankooten/PHP-Router","description":"Simple PHP Router class (supports REST and reverse routing)","fork":false,"url":"https://api.github.com/repos/dannyvankooten/PHP-Router","forks_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/forks","keys_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/teams","hooks_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/hooks","issue_events_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/issues/events{/number}","events_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/events","assignees_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/assignees{/user}","branches_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/branches{/branch}","tags_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/tags","blobs_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/git/refs{/sha}","trees_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/statuses/{sha}","languages_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/languages","stargazers_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/stargazers","contributors_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/contributors","subscribers_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/subscribers","subscription_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/subscription","commits_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/commits{/sha}","git_commits_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/git/commits{/sha}","comments_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/comments{/number}","issue_comment_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/issues/comments/{number}","contents_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/contents/{+path}","compare_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/merges","archive_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/downloads","issues_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/issues{/number}","pulls_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/pulls{/number}","milestones_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/milestones{/number}","notifications_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/labels{/name}","releases_url":"https://api.github.com/repos/dannyvankooten/PHP-Router/releases{/id}","created_at":"2011-11-27T15:56:25Z","updated_at":"2015-01-21T18:17:57Z","pushed_at":"2014-09-08T12:55:26Z","git_url":"git://github.com/dannyvankooten/PHP-Router.git","ssh_url":"git@github.com:dannyvankooten/PHP-Router.git","clone_url":"https://github.com/dannyvankooten/PHP-Router.git","svn_url":"https://github.com/dannyvankooten/PHP-Router","homepage":"","size":507,"stargazers_count":251,"watchers_count":251,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":63,"mirror_url":null,"open_issues_count":9,"forks":63,"open_issues":9,"watchers":251,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dannyvankooten/PHP-Router/pulls/47"},"html":{"href":"https://github.com/dannyvankooten/PHP-Router/pull/47"},"issue":{"href":"https://api.github.com/repos/dannyvankooten/PHP-Router/issues/47"},"comments":{"href":"https://api.github.com/repos/dannyvankooten/PHP-Router/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/dannyvankooten/PHP-Router/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/dannyvankooten/PHP-Router/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/dannyvankooten/PHP-Router/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/dannyvankooten/PHP-Router/statuses/b221fef795d319bc0788d5b2608c9265a6fb0401"}}}}