{"action":"created","issue":{"url":"https://api.github.com/repos/cakephp/docs/issues/4541","repository_url":"https://api.github.com/repos/cakephp/docs","labels_url":"https://api.github.com/repos/cakephp/docs/issues/4541/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/docs/issues/4541/comments","events_url":"https://api.github.com/repos/cakephp/docs/issues/4541/events","html_url":"https://github.com/cakephp/docs/pull/4541","id":196948650,"number":4541,"title":"Fix afterSave examples in caching docs.","user":{"login":"markstory","id":24086,"avatar_url":"https://avatars.githubusercontent.com/u/24086?v=3","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"labels":[{"id":194661136,"url":"https://api.github.com/repos/cakephp/docs/labels/Docs%20Incorrect","name":"Docs Incorrect","color":"e11d21","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/cakephp/docs/milestones/1","html_url":"https://github.com/cakephp/docs/milestone/1","labels_url":"https://api.github.com/repos/cakephp/docs/milestones/1/labels","id":629438,"number":1,"title":"3.x","description":"","creator":{"login":"markstory","id":24086,"avatar_url":"https://avatars.githubusercontent.com/u/24086?v=3","gravatar_id":"","url":"https://api.github.com/users/markstory","html_url":"https://github.com/markstory","followers_url":"https://api.github.com/users/markstory/followers","following_url":"https://api.github.com/users/markstory/following{/other_user}","gists_url":"https://api.github.com/users/markstory/gists{/gist_id}","starred_url":"https://api.github.com/users/markstory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markstory/subscriptions","organizations_url":"https://api.github.com/users/markstory/orgs","repos_url":"https://api.github.com/users/markstory/repos","events_url":"https://api.github.com/users/markstory/events{/privacy}","received_events_url":"https://api.github.com/users/markstory/received_events","type":"User","site_admin":false},"open_issues":34,"closed_issues":2047,"state":"open","created_at":"2014-04-14T15:44:13Z","updated_at":"2016-12-21T15:32:56Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-12-21T14:41:01Z","updated_at":"2016-12-21T15:47:43Z","closed_at":"2016-12-21T15:32:42Z","pull_request":{"url":"https://api.github.com/repos/cakephp/docs/pulls/4541","html_url":"https://github.com/cakephp/docs/pull/4541","diff_url":"https://github.com/cakephp/docs/pull/4541.diff","patch_url":"https://github.com/cakephp/docs/pull/4541.patch"},"body":"Callbacks always get an event now.\r\n\r\nRefs cakephp/cakephp#9897"},"comment":{"url":"https://api.github.com/repos/cakephp/docs/issues/comments/268556121","html_url":"https://github.com/cakephp/docs/pull/4541#issuecomment-268556121","issue_url":"https://api.github.com/repos/cakephp/docs/issues/4541","id":268556121,"user":{"login":"ravage84","id":625761,"avatar_url":"https://avatars.githubusercontent.com/u/625761?v=3","gravatar_id":"","url":"https://api.github.com/users/ravage84","html_url":"https://github.com/ravage84","followers_url":"https://api.github.com/users/ravage84/followers","following_url":"https://api.github.com/users/ravage84/following{/other_user}","gists_url":"https://api.github.com/users/ravage84/gists{/gist_id}","starred_url":"https://api.github.com/users/ravage84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ravage84/subscriptions","organizations_url":"https://api.github.com/users/ravage84/orgs","repos_url":"https://api.github.com/users/ravage84/repos","events_url":"https://api.github.com/users/ravage84/events{/privacy}","received_events_url":"https://api.github.com/users/ravage84/received_events","type":"User","site_admin":false},"created_at":"2016-12-21T15:47:43Z","updated_at":"2016-12-21T15:47:43Z","body":"@dereuromark , I have no strong opinon about it.\r\n\r\nSomewhat related:\r\n\r\nIn the [3.x API docs,](http://api.cakephp.org/3.3/class-Cake.Database.Schema.Table.html) I can't find ``Table::afterSave()``, I can only find it in the [Cookbook page about the Table object](http://book.cakephp.org/3.0/en/orm/table-objects.html#aftersave)..\r\nWhereas I can find ``Model::afterSave()`` in the [2.x API docs](http://api.cakephp.org/2.9/class-Model.html#_afterSave) __and__ the [Cookbook page about Model Callbacks](http://book.cakephp.org/2.0/en/models/callback-methods.html#aftersave)."}}
{"actor":{"display_login":"ravage84"}}