0 follower

Final Class Yiisoft\Yii\Cycle\Command\CycleDependencyProxy

InheritanceYiisoft\Yii\Cycle\Command\CycleDependencyProxy

Method Details

Hide inherited methods

__construct() public method

public __construct( \Psr\Container\ContainerInterface $container ): mixed
$container \Psr\Container\ContainerInterface

                public function __construct(private readonly ContainerInterface $container)
{
}

            
getDatabaseProvider() public method

public getDatabaseProvider( ): \Cycle\Database\DatabaseProviderInterface

                public function getDatabaseProvider(): DatabaseProviderInterface
{
    return $this->container->get(DatabaseProviderInterface::class);
}

            
getMigrationConfig() public method

public getMigrationConfig( ): \Cycle\Migrations\Config\MigrationConfig

                public function getMigrationConfig(): MigrationConfig
{
    return $this->container->get(MigrationConfig::class);
}

            
getMigrator() public method

public getMigrator( ): \Cycle\Migrations\Migrator

                public function getMigrator(): Migrator
{
    return $this->container->get(Migrator::class);
}

            
getORM() public method

Can be used in other packages

public getORM( ): \Cycle\ORM\ORMInterface

                public function getORM(): ORMInterface
{
    return $this->container->get(ORMInterface::class);
}

            
getSchema() public method

public getSchema( ): \Cycle\ORM\SchemaInterface

                public function getSchema(): SchemaInterface
{
    return $this->container->get(SchemaInterface::class);
}

            
getSchemaConveyor() public method

public getSchemaConveyor( ): Yiisoft\Yii\Cycle\Schema\SchemaConveyorInterface

                public function getSchemaConveyor(): SchemaConveyorInterface
{
    return $this->container->get(SchemaConveyorInterface::class);
}

            
getSchemaProvider() public method

public getSchemaProvider( ): \Cycle\Schema\Provider\SchemaProviderInterface

                public function getSchemaProvider(): SchemaProviderInterface
{
    return $this->container->get(SchemaProviderInterface::class);
}