Final Class Yiisoft\Yii\Cycle\Command\CycleDependencyProxy
| Inheritance | Yiisoft\ |
|---|
Public Methods
Method Details
| public mixed __construct ( \ | ||
| $container | \ |
|
public function __construct(private readonly ContainerInterface $container) {}
| public \ |
public function getDatabaseProvider(): DatabaseProviderInterface
{
return $this->container->get(DatabaseProviderInterface::class);
}
| public \ |
public function getMigrationConfig(): MigrationConfig
{
return $this->container->get(MigrationConfig::class);
}
| public \ |
public function getMigrator(): Migrator
{
return $this->container->get(Migrator::class);
}
Can be used in other packages
| public \ |
public function getORM(): ORMInterface
{
return $this->container->get(ORMInterface::class);
}
| public \ |
public function getSchema(): SchemaInterface
{
return $this->container->get(SchemaInterface::class);
}
| public Yiisoft\ |
public function getSchemaConveyor(): SchemaConveyorInterface
{
return $this->container->get(SchemaConveyorInterface::class);
}
| public \ |
public function getSchemaProvider(): SchemaProviderInterface
{
return $this->container->get(SchemaProviderInterface::class);
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.