The introduction of registerExplicitBindingsMap in Maravel-Framework 10.57.0 made this possible in Maravelith 10.52.2:
<?php
/*
|--------------------------------------------------------------------------
| Create The Application
|--------------------------------------------------------------------------
|
| The first thing we will do is create a new Laravel application instance
| which serves as the "glue" for all the components of Laravel, and is
| the IoC container for the system binding all of the various parts.
|
*/
return new App\Application($_ENV['APP_BASE_PATH'] ?? dirname( __DIR__ ));
/*
|--------------------------------------------------------------------------
| Bind Important Interfaces
|--------------------------------------------------------------------------
|
| Next, we need to bind some important interfaces into the container so
| we will be able to resolve them when needed. The kernels serve the
| incoming requests to this application from both the web and CLI.
|
| Moved to:
| @see \App\Application::registerExplicitBindingsMap
*/
For Maravel-Microframwork the same change was applied in version 10.52.2 but there the bootstrap/app.php is not so skinny.

Top comments (0)