aphiria / configuration

[READ-ONLY] The configuration library for Aphiria
https://www.aphiria.com
MIT License
1 stars 0 forks source link

Add ability to configure an Aphiria app to use Aphiria exception handling #2

Closed davidbyoung closed 5 years ago

davidbyoung commented 5 years ago

To simplify getting up and running with the Aphiria exception handling library in an Aphiria application, it would be nice if we had a method in AphiriaComponentBuilder to bundle it, eg:

(new AphiriaComponentBuilder)->withExceptionHandlers($appBuilder);

Open Questions

davidbyoung commented 5 years ago

This has been implemented. To keep the bootstrapper focused on just registering instances to the DI container, the actual registering of the global exception handler to PHP happens in the configuration library.