Conditions | 1 |
Paths | 1 |
Total Lines | 5 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
39 | protected function interactWithNoDatabase(ConnectionInterface $connection, ?string $dbName): void |
||
40 | { |
||
41 | $connection->schema()->createDatabase($dbName); |
||
|
|||
42 | |||
43 | $this->io->line('Database <comment>%s</comment> has been <info>created</info> for connection <comment>%s</comment>.', $dbName, $connection->getName()); |
||
44 | } |
||
46 |