See wiki
Phifty\App (is a Bundle)
Phifty\Kernel(
/* Core service providers */
"event" => EventServiceProvider,
"config" => ConfigServiceProvider,
/* Extra service providers */
[services] => Array Phifty\ServiceProvider[string]
"bundles" => BundleServiceProvider(
Array Phifty\Bundle[string]
)
)
- Create the generated App\ConfigLoader object.
- Create the generated App\Kernel object
- Load the service providers into
$kernel
- Load the bundles into
$kernel
- Load the service providers into
- Create
App\App
instance withApp($kernel)
- Call App::boot() method to boot the app.
- Call Kernel::boot to boot the service providers and the bundles.
- Run ::boot on all the service providers
- Run ::boot on all the bundles
- Run the App boot code.
- Call Kernel::boot to boot the service providers and the bundles.