Method | Description | |
---|---|---|
bootstrap ( ) : void | Bootstraps (and locks) the container. | |
extend ( string $name, callable $new_factory ) : static | Replaces the factory callback with the given name with the given factory callback. | |
lock ( ) : void | Locks the container. | |
share ( string $name, mixed $value ) : static | Stores the given value or factory callback with the given name, and defines it to be accessible even after the container has been bootstrapped. |