Error Handler

sets a custom error handler to catch notices and such and transform them to exceptions. If your PHP contains syntax errors for example, a PHP error will be triggered. This is not an exception as such, but this plugin transforms it into an exception. This exception can then be properly handled.
The point of the whole thing is to make sure you generate well formed requests even if your service PHP code is bad.

See here for the generated doc.

Laissez un commentaire

News letter

Evénements Silex Labs sur Paris et sa région: Inscrivez vous à la Newsletter mensuelle

Silex Labs community Tweets

Facebook page