0 follower

Final Class Yiisoft\Yii\Cycle\Command\Schema\SchemaRebuildCommand

InheritanceYiisoft\Yii\Cycle\Command\Schema\SchemaRebuildCommand » Symfony\Component\Console\Command\Command

Method Details

Hide inherited methods

__construct() public method

public mixed __construct ( Yiisoft\Yii\Cycle\Command\CycleDependencyProxy $promise )
$promise Yiisoft\Yii\Cycle\Command\CycleDependencyProxy

                public function __construct(private readonly CycleDependencyProxy $promise)
{
    parent::__construct();
}

            
execute() protected method

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;
}