Final Class Yiisoft\Yii\Cycle\Command\CycleDependencyProxy
| Inheritance | Yiisoft\Yii\Cycle\Command\CycleDependencyProxy |
|---|
Public Methods
Method Details
| public mixed __construct ( \Psr\Container\ContainerInterface $container ) | ||
| $container | \Psr\Container\ContainerInterface | |
public function __construct(private readonly ContainerInterface $container)
{
}
| public \Cycle\Database\DatabaseProviderInterface getDatabaseProvider ( ) |
public function getDatabaseProvider(): DatabaseProviderInterface
{
return $this->container->get(DatabaseProviderInterface::class);
}
| public \Cycle\Migrations\Config\MigrationConfig getMigrationConfig ( ) |
public function getMigrationConfig(): MigrationConfig
{
return $this->container->get(MigrationConfig::class);
}
| public \Cycle\Migrations\Migrator getMigrator ( ) |
public function getMigrator(): Migrator
{
return $this->container->get(Migrator::class);
}
Can be used in other packages
| public \Cycle\ORM\ORMInterface getORM ( ) |
public function getORM(): ORMInterface
{
return $this->container->get(ORMInterface::class);
}
| public \Cycle\ORM\SchemaInterface getSchema ( ) |
public function getSchema(): SchemaInterface
{
return $this->container->get(SchemaInterface::class);
}
| public Yiisoft\Yii\Cycle\Schema\SchemaConveyorInterface getSchemaConveyor ( ) |
public function getSchemaConveyor(): SchemaConveyorInterface
{
return $this->container->get(SchemaConveyorInterface::class);
}
| public \Cycle\Schema\Provider\SchemaProviderInterface getSchemaProvider ( ) |
public function getSchemaProvider(): SchemaProviderInterface
{
return $this->container->get(SchemaProviderInterface::class);
}
Signup or Login in order to comment.