You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added JSON_UNESCAPED_SLASHES to avoid unnecessary escaping of slashes in output. (#8)
Added new abstract extension AbstractApiException which is used by ControllerNotFoundException and MethodNotAllowedException. Allows setting of HTTP response code to avoid every exception thrown appearing as a '500 Internal Server Error'
Changed
Updated core controller event based on changes to ControllerNotFoundException and MethodNotAllowedException
Updated ControllerNotFoundException and MethodNotAllowedException to extend the new AbstractApiException class
Updated ExceptionHandler to check for overloaded http response code. Calls the method getHttpStatusCode() if it is available
Fixes
Removed the use clause for Symphony as it is redundant and causes a PHP warning
Using API Framework exception and error handlers instead of Symphony built in. (#9)