trait
Illuminate
/
Support
/
Traits
/
CapsuleManagerTrait
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
CapsuleManagerTrait
Properties
protected
static
$instance object
The current globally used instance.
Default: null
Methods
protected
setupContainer ( Container $container ) : void
Setup the IoC container instance.
Parameters
- $container Container
public
setAsGlobal ( ) : void
Make this capsule instance available globally.