trait CapsuleManagerTrait (View source)
static protected object | $instance | The current globally used instance. | |
protected Container | $container | The container instance. |
void | setupContainer(Container $container) Setup the IoC container instance. | |
void | setAsGlobal() Make this capsule instance available globally. | |
Container | getContainer() Get the IoC container instance. | |
void | setContainer(Container $container) Set the IoC container instance. |
Setup the IoC container instance.
Make this capsule instance available globally.
Get the IoC container instance.
Set the IoC container instance.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/8.x/Illuminate/Support/Traits/CapsuleManagerTrait.html