{"action":"closed","issue":{"url":"https://api.github.com/repos/juliangut/slim-exception/issues/7","repository_url":"https://api.github.com/repos/juliangut/slim-exception","labels_url":"https://api.github.com/repos/juliangut/slim-exception/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/juliangut/slim-exception/issues/7/comments","events_url":"https://api.github.com/repos/juliangut/slim-exception/issues/7/events","html_url":"https://github.com/juliangut/slim-exception/issues/7","id":293871317,"number":7,"title":"Helper handlers set methods","user":{"login":"juliangut","id":1104131,"avatar_url":"https://avatars1.githubusercontent.com/u/1104131?v=4","gravatar_id":"","url":"https://api.github.com/users/juliangut","html_url":"https://github.com/juliangut","followers_url":"https://api.github.com/users/juliangut/followers","following_url":"https://api.github.com/users/juliangut/following{/other_user}","gists_url":"https://api.github.com/users/juliangut/gists{/gist_id}","starred_url":"https://api.github.com/users/juliangut/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juliangut/subscriptions","organizations_url":"https://api.github.com/users/juliangut/orgs","repos_url":"https://api.github.com/users/juliangut/repos","events_url":"https://api.github.com/users/juliangut/events{/privacy}","received_events_url":"https://api.github.com/users/juliangut/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-02T12:22:50Z","updated_at":"2018-02-16T15:40:12Z","closed_at":"2018-02-16T15:40:12Z","author_association":"OWNER","body":"Add helper methods for common possible handlers on [HttpExceptionManager](https://github.com/juliangut/slim-exception/blob/master/src/HttpExceptionManager.php)\r\n\r\n```php\r\npublic function addNotFoundHandler(HttpExceptionHandler $handler)\r\n{\r\n    $this->addHandler(StatusCodeInterface::STATUS_NOT_FOUND, $handler);\r\n}\r\n\r\npublic function addMethodNotAllowedHandler(HttpExceptionHandler $handler)\r\n{\r\n    $this->addHandler(StatusCodeInterface::STATUS_METHOD_NOT_ALLOWED, $handler);\r\n}\r\n\r\n...\r\n```"}}
{"actor":{"display_login":"juliangut"}}