Final Class Yiisoft\Db\Migration\Informer\ConsoleMigrationInformer
| Inheritance | Yiisoft\Db\Migration\Informer\ConsoleMigrationInformer |
|---|---|
| Implements | Yiisoft\Db\Migration\Informer\MigrationInformerInterface |
Writes migration process informational messages into console.
Public Methods
Method Details
| public void beginCommand ( string $message ) | ||
| $message | string | |
public function beginCommand(string $message): void
{
$this->io?->write(' > ' . $message . ' ...');
}
| public void beginCreateHistoryTable ( string $message ) | ||
| $message | string | |
public function beginCreateHistoryTable(string $message): void
{
$this->io?->section($message);
}
| public void endCommand ( string $message ) | ||
| $message | string | |
public function endCommand(string $message): void
{
$this->io?->writeln(' ' . $message);
}
| public void endCreateHistoryTable ( string $message ) | ||
| $message | string | |
public function endCreateHistoryTable(string $message): void
{
$this->io?->writeln("\t<fg=green>>>> [OK] - '.$message.'.</>");
}
Signup or Login in order to comment.