Final Class Yiisoft\Yii\Cycle\Command\Schema\SchemaRebuildCommand
| Inheritance | Yiisoft\Yii\Cycle\Command\Schema\SchemaRebuildCommand » Symfony\Component\Console\Command\Command |
|---|
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Yiisoft\Yii\Cycle\Command\Schema\SchemaRebuildCommand |
Protected Methods
| Method | Description | Defined By |
|---|---|---|
| execute() | Yiisoft\Yii\Cycle\Command\Schema\SchemaRebuildCommand |
Method Details
| public mixed __construct ( Yiisoft\Yii\Cycle\Command\CycleDependencyProxy $promise ) | ||
| $promise | Yiisoft\Yii\Cycle\Command\CycleDependencyProxy | |
public function __construct(private readonly CycleDependencyProxy $promise)
{
parent::__construct();
}
| protected integer execute ( \Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\Output\OutputInterface $output ) | ||
| $input | \Symfony\Component\Console\Input\InputInterface | |
| $output | \Symfony\Component\Console\Output\OutputInterface | |
#[\Override]
protected function execute(InputInterface $input, OutputInterface $output): int
{
$provider = $this->promise->getSchemaProvider();
$provider->clear();
$provider->read();
return self::SUCCESS;
}
Signup or Login in order to comment.