0 follower

Final Class Yiisoft\Yii\Testing\MockServiceProvider

InheritanceYiisoft\Yii\Testing\MockServiceProvider
ImplementsYiisoft\Di\ServiceProviderInterface

Method Details

Hide inherited methods

getDefinitions() public method

public getDefinitions( ): array

                public function getDefinitions(): array
{
    return $this->definitions;
}

            
getExtensions() public method

public getExtensions( ): array

                public function getExtensions(): array
{
    return $this->extensions;
}

            
setDefinition() public method

public setDefinition( string $id, mixed $definition ): void
$id string
$definition mixed

                public function setDefinition(string $id, mixed $definition): void
{
    $this->definitions[$id] = $definition;
}