{"action":"created","comment":{"url":"https://api.github.com/repos/phalcon/cphalcon/pulls/comments/96941563","pull_request_review_id":17540660,"id":96941563,"diff_hunk":"@@ -387,6 +387,14 @@ abstract class Dispatcher implements DispatcherInterface, InjectionAwareInterfac\n \t}\n \n \t/**\n+\t * Gets model binder\n+\t */\n+\tpublic function getModelBinder() -> <BinderInterface>\n+\t{\n+\t\treturn this->_modelBinder;","path":"phalcon/dispatcher.zep","position":8,"original_position":8,"commit_id":"bcc4b9034b318dd748c61916ddb3f07daeefc738","original_commit_id":"bcc4b9034b318dd748c61916ddb3f07daeefc738","user":{"login":"sergeyklay","id":1256298,"avatar_url":"https://avatars.githubusercontent.com/u/1256298?v=3","gravatar_id":"","url":"https://api.github.com/users/sergeyklay","html_url":"https://github.com/sergeyklay","followers_url":"https://api.github.com/users/sergeyklay/followers","following_url":"https://api.github.com/users/sergeyklay/following{/other_user}","gists_url":"https://api.github.com/users/sergeyklay/gists{/gist_id}","starred_url":"https://api.github.com/users/sergeyklay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergeyklay/subscriptions","organizations_url":"https://api.github.com/users/sergeyklay/orgs","repos_url":"https://api.github.com/users/sergeyklay/repos","events_url":"https://api.github.com/users/sergeyklay/events{/privacy}","received_events_url":"https://api.github.com/users/sergeyklay/received_events","type":"User","site_admin":false},"body":" Could you please add this to the changelog","created_at":"2017-01-19T19:45:11Z","updated_at":"2017-01-19T19:45:11Z","html_url":"https://github.com/phalcon/cphalcon/pull/12559#discussion_r96941563","pull_request_url":"https://api.github.com/repos/phalcon/cphalcon/pulls/12559","_links":{"self":{"href":"https://api.github.com/repos/phalcon/cphalcon/pulls/comments/96941563"},"html":{"href":"https://github.com/phalcon/cphalcon/pull/12559#discussion_r96941563"},"pull_request":{"href":"https://api.github.com/repos/phalcon/cphalcon/pulls/12559"}}},"pull_request":{"url":"https://api.github.com/repos/phalcon/cphalcon/pulls/12559","id":102272219,"html_url":"https://github.com/phalcon/cphalcon/pull/12559","diff_url":"https://github.com/phalcon/cphalcon/pull/12559.diff","patch_url":"https://github.com/phalcon/cphalcon/pull/12559.patch","issue_url":"https://api.github.com/repos/phalcon/cphalcon/issues/12559","number":12559,"state":"open","locked":false,"title":"Added ability to get original values from model binder","user":{"login":"Jurigag","id":10086991,"avatar_url":"https://avatars.githubusercontent.com/u/10086991?v=3","gravatar_id":"","url":"https://api.github.com/users/Jurigag","html_url":"https://github.com/Jurigag","followers_url":"https://api.github.com/users/Jurigag/followers","following_url":"https://api.github.com/users/Jurigag/following{/other_user}","gists_url":"https://api.github.com/users/Jurigag/gists{/gist_id}","starred_url":"https://api.github.com/users/Jurigag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jurigag/subscriptions","organizations_url":"https://api.github.com/users/Jurigag/orgs","repos_url":"https://api.github.com/users/Jurigag/repos","events_url":"https://api.github.com/users/Jurigag/events{/privacy}","received_events_url":"https://api.github.com/users/Jurigag/received_events","type":"User","site_admin":false},"body":"Hello!\r\n\r\n* Type: new feature\r\n* Link to issue:\r\n\r\n**In raising this pull request, I confirm the following (please check boxes):**\r\n\r\n- [x] I have read and understood the [Contributing Guidelines](https://github.com/phalcon/cphalcon/blob/master/CONTRIBUTING.md)?\r\n- [x] I have checked that another pull request for this purpose does not exist.\r\n- [x] I wrote some tests for this PR.\r\n\r\nSmall description of change: with introducing `Phalcon\\Mvc\\Model\\Binder` which will change values in dispatcher loop parameters sometimes you would like to have ability to get original values for example caching related stuff. This PR is adding way to return original values before changing them to models.\r\n\r\nThanks\r\n\r\n","created_at":"2017-01-19T14:05:20Z","updated_at":"2017-01-19T19:45:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1946fb85fe642609f503292047ca167d19fbe671","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/phalcon/cphalcon/pulls/12559/commits","review_comments_url":"https://api.github.com/repos/phalcon/cphalcon/pulls/12559/comments","review_comment_url":"https://api.github.com/repos/phalcon/cphalcon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/phalcon/cphalcon/issues/12559/comments","statuses_url":"https://api.github.com/repos/phalcon/cphalcon/statuses/bcc4b9034b318dd748c61916ddb3f07daeefc738","head":{"label":"Jurigag:3.1.x-model-binder","ref":"3.1.x-model-binder","sha":"bcc4b9034b318dd748c61916ddb3f07daeefc738","user":{"login":"Jurigag","id":10086991,"avatar_url":"https://avatars.githubusercontent.com/u/10086991?v=3","gravatar_id":"","url":"https://api.github.com/users/Jurigag","html_url":"https://github.com/Jurigag","followers_url":"https://api.github.com/users/Jurigag/followers","following_url":"https://api.github.com/users/Jurigag/following{/other_user}","gists_url":"https://api.github.com/users/Jurigag/gists{/gist_id}","starred_url":"https://api.github.com/users/Jurigag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jurigag/subscriptions","organizations_url":"https://api.github.com/users/Jurigag/orgs","repos_url":"https://api.github.com/users/Jurigag/repos","events_url":"https://api.github.com/users/Jurigag/events{/privacy}","received_events_url":"https://api.github.com/users/Jurigag/received_events","type":"User","site_admin":false},"repo":{"id":48134918,"name":"cphalcon","full_name":"Jurigag/cphalcon","owner":{"login":"Jurigag","id":10086991,"avatar_url":"https://avatars.githubusercontent.com/u/10086991?v=3","gravatar_id":"","url":"https://api.github.com/users/Jurigag","html_url":"https://github.com/Jurigag","followers_url":"https://api.github.com/users/Jurigag/followers","following_url":"https://api.github.com/users/Jurigag/following{/other_user}","gists_url":"https://api.github.com/users/Jurigag/gists{/gist_id}","starred_url":"https://api.github.com/users/Jurigag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jurigag/subscriptions","organizations_url":"https://api.github.com/users/Jurigag/orgs","repos_url":"https://api.github.com/users/Jurigag/repos","events_url":"https://api.github.com/users/Jurigag/events{/privacy}","received_events_url":"https://api.github.com/users/Jurigag/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Jurigag/cphalcon","description":"Web framework delivered as a C-extension for PHP","fork":true,"url":"https://api.github.com/repos/Jurigag/cphalcon","forks_url":"https://api.github.com/repos/Jurigag/cphalcon/forks","keys_url":"https://api.github.com/repos/Jurigag/cphalcon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Jurigag/cphalcon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Jurigag/cphalcon/teams","hooks_url":"https://api.github.com/repos/Jurigag/cphalcon/hooks","issue_events_url":"https://api.github.com/repos/Jurigag/cphalcon/issues/events{/number}","events_url":"https://api.github.com/repos/Jurigag/cphalcon/events","assignees_url":"https://api.github.com/repos/Jurigag/cphalcon/assignees{/user}","branches_url":"https://api.github.com/repos/Jurigag/cphalcon/branches{/branch}","tags_url":"https://api.github.com/repos/Jurigag/cphalcon/tags","blobs_url":"https://api.github.com/repos/Jurigag/cphalcon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Jurigag/cphalcon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Jurigag/cphalcon/git/refs{/sha}","trees_url":"https://api.github.com/repos/Jurigag/cphalcon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Jurigag/cphalcon/statuses/{sha}","languages_url":"https://api.github.com/repos/Jurigag/cphalcon/languages","stargazers_url":"https://api.github.com/repos/Jurigag/cphalcon/stargazers","contributors_url":"https://api.github.com/repos/Jurigag/cphalcon/contributors","subscribers_url":"https://api.github.com/repos/Jurigag/cphalcon/subscribers","subscription_url":"https://api.github.com/repos/Jurigag/cphalcon/subscription","commits_url":"https://api.github.com/repos/Jurigag/cphalcon/commits{/sha}","git_commits_url":"https://api.github.com/repos/Jurigag/cphalcon/git/commits{/sha}","comments_url":"https://api.github.com/repos/Jurigag/cphalcon/comments{/number}","issue_comment_url":"https://api.github.com/repos/Jurigag/cphalcon/issues/comments{/number}","contents_url":"https://api.github.com/repos/Jurigag/cphalcon/contents/{+path}","compare_url":"https://api.github.com/repos/Jurigag/cphalcon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Jurigag/cphalcon/merges","archive_url":"https://api.github.com/repos/Jurigag/cphalcon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Jurigag/cphalcon/downloads","issues_url":"https://api.github.com/repos/Jurigag/cphalcon/issues{/number}","pulls_url":"https://api.github.com/repos/Jurigag/cphalcon/pulls{/number}","milestones_url":"https://api.github.com/repos/Jurigag/cphalcon/milestones{/number}","notifications_url":"https://api.github.com/repos/Jurigag/cphalcon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Jurigag/cphalcon/labels{/name}","releases_url":"https://api.github.com/repos/Jurigag/cphalcon/releases{/id}","deployments_url":"https://api.github.com/repos/Jurigag/cphalcon/deployments","created_at":"2015-12-16T21:00:45Z","updated_at":"2015-12-16T21:00:49Z","pushed_at":"2017-01-19T15:11:30Z","git_url":"git://github.com/Jurigag/cphalcon.git","ssh_url":"git@github.com:Jurigag/cphalcon.git","clone_url":"https://github.com/Jurigag/cphalcon.git","svn_url":"https://github.com/Jurigag/cphalcon","homepage":"phalconphp.com","size":113914,"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":"phalcon:3.1.x","ref":"3.1.x","sha":"a75744673e252bda807413e39b55923909d7798f","user":{"login":"phalcon","id":1221505,"avatar_url":"https://avatars.githubusercontent.com/u/1221505?v=3","gravatar_id":"","url":"https://api.github.com/users/phalcon","html_url":"https://github.com/phalcon","followers_url":"https://api.github.com/users/phalcon/followers","following_url":"https://api.github.com/users/phalcon/following{/other_user}","gists_url":"https://api.github.com/users/phalcon/gists{/gist_id}","starred_url":"https://api.github.com/users/phalcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phalcon/subscriptions","organizations_url":"https://api.github.com/users/phalcon/orgs","repos_url":"https://api.github.com/users/phalcon/repos","events_url":"https://api.github.com/users/phalcon/events{/privacy}","received_events_url":"https://api.github.com/users/phalcon/received_events","type":"User","site_admin":false},"repo":{"id":2854337,"name":"cphalcon","full_name":"phalcon/cphalcon","owner":{"login":"phalcon","id":1221505,"avatar_url":"https://avatars.githubusercontent.com/u/1221505?v=3","gravatar_id":"","url":"https://api.github.com/users/phalcon","html_url":"https://github.com/phalcon","followers_url":"https://api.github.com/users/phalcon/followers","following_url":"https://api.github.com/users/phalcon/following{/other_user}","gists_url":"https://api.github.com/users/phalcon/gists{/gist_id}","starred_url":"https://api.github.com/users/phalcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phalcon/subscriptions","organizations_url":"https://api.github.com/users/phalcon/orgs","repos_url":"https://api.github.com/users/phalcon/repos","events_url":"https://api.github.com/users/phalcon/events{/privacy}","received_events_url":"https://api.github.com/users/phalcon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/phalcon/cphalcon","description":"Web framework delivered as a C-extension for PHP","fork":false,"url":"https://api.github.com/repos/phalcon/cphalcon","forks_url":"https://api.github.com/repos/phalcon/cphalcon/forks","keys_url":"https://api.github.com/repos/phalcon/cphalcon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phalcon/cphalcon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phalcon/cphalcon/teams","hooks_url":"https://api.github.com/repos/phalcon/cphalcon/hooks","issue_events_url":"https://api.github.com/repos/phalcon/cphalcon/issues/events{/number}","events_url":"https://api.github.com/repos/phalcon/cphalcon/events","assignees_url":"https://api.github.com/repos/phalcon/cphalcon/assignees{/user}","branches_url":"https://api.github.com/repos/phalcon/cphalcon/branches{/branch}","tags_url":"https://api.github.com/repos/phalcon/cphalcon/tags","blobs_url":"https://api.github.com/repos/phalcon/cphalcon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phalcon/cphalcon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phalcon/cphalcon/git/refs{/sha}","trees_url":"https://api.github.com/repos/phalcon/cphalcon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phalcon/cphalcon/statuses/{sha}","languages_url":"https://api.github.com/repos/phalcon/cphalcon/languages","stargazers_url":"https://api.github.com/repos/phalcon/cphalcon/stargazers","contributors_url":"https://api.github.com/repos/phalcon/cphalcon/contributors","subscribers_url":"https://api.github.com/repos/phalcon/cphalcon/subscribers","subscription_url":"https://api.github.com/repos/phalcon/cphalcon/subscription","commits_url":"https://api.github.com/repos/phalcon/cphalcon/commits{/sha}","git_commits_url":"https://api.github.com/repos/phalcon/cphalcon/git/commits{/sha}","comments_url":"https://api.github.com/repos/phalcon/cphalcon/comments{/number}","issue_comment_url":"https://api.github.com/repos/phalcon/cphalcon/issues/comments{/number}","contents_url":"https://api.github.com/repos/phalcon/cphalcon/contents/{+path}","compare_url":"https://api.github.com/repos/phalcon/cphalcon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phalcon/cphalcon/merges","archive_url":"https://api.github.com/repos/phalcon/cphalcon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phalcon/cphalcon/downloads","issues_url":"https://api.github.com/repos/phalcon/cphalcon/issues{/number}","pulls_url":"https://api.github.com/repos/phalcon/cphalcon/pulls{/number}","milestones_url":"https://api.github.com/repos/phalcon/cphalcon/milestones{/number}","notifications_url":"https://api.github.com/repos/phalcon/cphalcon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phalcon/cphalcon/labels{/name}","releases_url":"https://api.github.com/repos/phalcon/cphalcon/releases{/id}","deployments_url":"https://api.github.com/repos/phalcon/cphalcon/deployments","created_at":"2011-11-26T05:52:50Z","updated_at":"2017-01-19T13:30:49Z","pushed_at":"2017-01-19T15:11:32Z","git_url":"git://github.com/phalcon/cphalcon.git","ssh_url":"git@github.com:phalcon/cphalcon.git","clone_url":"https://github.com/phalcon/cphalcon.git","svn_url":"https://github.com/phalcon/cphalcon","homepage":"phalconphp.com","size":122703,"stargazers_count":7554,"watchers_count":7554,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1424,"mirror_url":null,"open_issues_count":753,"forks":1424,"open_issues":753,"watchers":7554,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/phalcon/cphalcon/pulls/12559"},"html":{"href":"https://github.com/phalcon/cphalcon/pull/12559"},"issue":{"href":"https://api.github.com/repos/phalcon/cphalcon/issues/12559"},"comments":{"href":"https://api.github.com/repos/phalcon/cphalcon/issues/12559/comments"},"review_comments":{"href":"https://api.github.com/repos/phalcon/cphalcon/pulls/12559/comments"},"review_comment":{"href":"https://api.github.com/repos/phalcon/cphalcon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/phalcon/cphalcon/pulls/12559/commits"},"statuses":{"href":"https://api.github.com/repos/phalcon/cphalcon/statuses/bcc4b9034b318dd748c61916ddb3f07daeefc738"}}}}
{"actor":{"display_login":"sergeyklay"}}