PHP Class Mongolid\Container\Ioc

Exibir arquivo Open project: leroy-merlin-br/mongolid Class Usage Examples

Protected Properties

Property Type Description
$container Illuminate\Container\Container Illuminate instance.

Public Methods

Method Description
__callStatic ( string $method, array $args ) : mixed Handle dynamic, static calls to the object.
setContainer ( Illuminate\Contracts\Container\Container $container ) : void Setter for static::$container.

Method Details

__callStatic() public static method

Handle dynamic, static calls to the object.
public static __callStatic ( string $method, array $args ) : mixed
$method string Method that is being called.
$args array Method arguments.
return mixed

setContainer() public static method

Setter for static::$container.
public static setContainer ( Illuminate\Contracts\Container\Container $container ) : void
$container Illuminate\Contracts\Container\Container The IoC container that will be used by mongolid.
return void

Property Details

$container protected_oe static_oe property

Illuminate instance.
protected static Illuminate\Container\Container $container
return Illuminate\Container\Container