Final Class Yiisoft\Yii\Cycle\Command\Schema\SchemaRebuildCommand
| Inheritance | Yiisoft\ |
|---|
Public Methods
| Method | Description | Defined By |
|---|---|---|
| __construct() | Yiisoft\ |
Protected Methods
| Method | Description | Defined By |
|---|---|---|
| execute() | Yiisoft\ |
Method Details
| public mixed __construct ( Yiisoft\ | ||
| $promise | Yiisoft\ |
|
public function __construct(private readonly CycleDependencyProxy $promise)
{
parent::__construct();
}
| protected integer execute ( \ | ||
| $input | \ |
|
| $output | \ |
|
protected function execute(InputInterface $input, OutputInterface $output): int
{
$provider = $this->promise->getSchemaProvider();
$provider->clear();
$provider->read();
return self::SUCCESS;
}
User Contributed Notes
Leave a comment
Join the conversation to share a note.