| Total Complexity | 2 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 13 | final class SchemaRebuildCommand extends Command |
||
| 14 | { |
||
| 15 | protected static $defaultName = 'cycle/schema/rebuild'; |
||
| 16 | protected static $defaultDescription = 'Rebuilds the database schema'; |
||
| 17 | private CycleDependencyProxy $promise; |
||
| 18 | |||
| 19 | 1 | public function __construct(CycleDependencyProxy $promise) |
|
| 20 | { |
||
| 21 | 1 | $this->promise = $promise; |
|
| 22 | 1 | parent::__construct(); |
|
| 23 | } |
||
| 24 | |||
| 25 | 1 | protected function execute(InputInterface $input, OutputInterface $output): int |
|
| 32 | } |
||
| 33 | } |
||
| 34 |