Container Actions

Centum\Codeception\Actions\ContainerActions

grabContainerObjectStorage

grabContainerObjectStorage(): Centum\Interfaces\Container\ObjectStorageInterface

grabFromContainer

grabFromContainer(
    class-string<T> $class
): T

addToContainer

addToContainer(
    class-string<T> $class,
    T $object
): void

removeFromContainer

Remove an object from the Container.

removeFromContainer(
    class-string $class
): void

mockInContainer

mockInContainer(
    class-string<T> $class,
    callable $callable = null
): T