{"action":"created","issue":{"url":"https://api.github.com/repos/JeffreyWay/Laravel-Model-Validation/issues/36","labels_url":"https://api.github.com/repos/JeffreyWay/Laravel-Model-Validation/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/JeffreyWay/Laravel-Model-Validation/issues/36/comments","events_url":"https://api.github.com/repos/JeffreyWay/Laravel-Model-Validation/issues/36/events","html_url":"https://github.com/JeffreyWay/Laravel-Model-Validation/issues/36","id":69900397,"number":36,"title":"Another saving() in the child","user":{"login":"pdcmoreira","id":4430606,"avatar_url":"https://avatars.githubusercontent.com/u/4430606?v=3","gravatar_id":"","url":"https://api.github.com/users/pdcmoreira","html_url":"https://github.com/pdcmoreira","followers_url":"https://api.github.com/users/pdcmoreira/followers","following_url":"https://api.github.com/users/pdcmoreira/following{/other_user}","gists_url":"https://api.github.com/users/pdcmoreira/gists{/gist_id}","starred_url":"https://api.github.com/users/pdcmoreira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdcmoreira/subscriptions","organizations_url":"https://api.github.com/users/pdcmoreira/orgs","repos_url":"https://api.github.com/users/pdcmoreira/repos","events_url":"https://api.github.com/users/pdcmoreira/events{/privacy}","received_events_url":"https://api.github.com/users/pdcmoreira/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-21T17:06:03Z","updated_at":"2015-04-21T18:15:54Z","closed_at":"2015-04-21T18:15:09Z","body":"Ok, the `Model` class uses the `saving()` method to hook into the `saving` event, but what if I need to use another `saving()` event on the child?\r\n\r\n```php\r\n\r\nclass Car extends Model {\r\n    protected static $rules = [];\r\n\r\n    public static function boot() {\r\n        parent::boot();\r\n        static::saving(function($model) {\r\n            $model->doStuff(); // <- this doesn't execute\r\n        });\r\n    }\r\n}\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/JeffreyWay/Laravel-Model-Validation/issues/comments/94893584","html_url":"https://github.com/JeffreyWay/Laravel-Model-Validation/issues/36#issuecomment-94893584","issue_url":"https://api.github.com/repos/JeffreyWay/Laravel-Model-Validation/issues/36","id":94893584,"user":{"login":"pdcmoreira","id":4430606,"avatar_url":"https://avatars.githubusercontent.com/u/4430606?v=3","gravatar_id":"","url":"https://api.github.com/users/pdcmoreira","html_url":"https://github.com/pdcmoreira","followers_url":"https://api.github.com/users/pdcmoreira/followers","following_url":"https://api.github.com/users/pdcmoreira/following{/other_user}","gists_url":"https://api.github.com/users/pdcmoreira/gists{/gist_id}","starred_url":"https://api.github.com/users/pdcmoreira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdcmoreira/subscriptions","organizations_url":"https://api.github.com/users/pdcmoreira/orgs","repos_url":"https://api.github.com/users/pdcmoreira/repos","events_url":"https://api.github.com/users/pdcmoreira/events{/privacy}","received_events_url":"https://api.github.com/users/pdcmoreira/received_events","type":"User","site_admin":false},"created_at":"2015-04-21T18:15:54Z","updated_at":"2015-04-21T18:15:54Z","body":"I found out the solution and made a pull request with the fix."}}