trait Illuminate / Support / Traits / CapsuleManagerTrait
You are viewing an older version of the documentation. For the latest, please visit master documentation.

CapsuleManagerTrait

Properties

protected static

$instance object

The current globally used instance.

Default: null
protected

$container Container

The container instance.

Default: null

Methods

protected

setupContainer ( Container $container ) : void

Setup the IoC container instance.

Parameters

public

setAsGlobal ( ) : void

Make this capsule instance available globally.

public

getContainer ( ) : Container

Get the IoC container instance.

public

setContainer ( Container $container ) : void

Set the IoC container instance.

Parameters