0 follower

Final Class Yiisoft\Yii\Cycle\Command\CycleDependencyProxy

InheritanceYiisoft\Yii\Cycle\Command\CycleDependencyProxy

Method Details

Hide inherited methods

__construct() public method

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

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

            
getDatabaseProvider() public method

public \Cycle\Database\DatabaseProviderInterface getDatabaseProvider ( )

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

            
getMigrationConfig() public method

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

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

            
getMigrator() public method

public \Cycle\Migrations\Migrator getMigrator ( )

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

            
getORM() public method

Can be used in other packages

public \Cycle\ORM\ORMInterface getORM ( )

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

            
getSchema() public method

public \Cycle\ORM\SchemaInterface getSchema ( )

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

            
getSchemaConveyor() public method

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

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

            
getSchemaProvider() public method

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

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