Capsule
classe Capsule implémente ArrayAccess (Voir la source)
Méthodes
static Capsule
getInstance()
Get instance of Capsule
mixed
make(string $key)
Make the
mixed
makeWith(mixed $key, array $parameters = [])
Compilation with parameter
bind(string $key, mixed $value)
Add to register
void
instance(string $key, mixed $instance)
Saves the instance of a class
offsetExists($offset)
Pas de description
offsetGet($offset)
Pas de description
offsetSet($offset, $value)
Pas de description
offsetUnset($offset)
Pas de description
Détails
static Capsule
getInstance()
Get instance of Capsule
mixed
make(string $key)
Make the
mixed
makeWith(mixed $key, array $parameters = [])
Compilation with parameter
bind(string $key, mixed $value)
Add to register
void
factory(string $key, Closure $value)
Register the instance of a class
void
instance(string $key, mixed $instance)
Saves the instance of a class
offsetExists($offset)
Pas de description
offsetGet($offset)
Pas de description
offsetSet($offset, $value)
Pas de description
offsetUnset($offset)
Pas de description