public function drop(): void
    {
        $dropped = $this->repository->drop();

        if (count($dropped) === 0) {
            return;
        }

        $this->notify->note('');

        foreach ($dropped as [$type, $value]) {
            $type = ucfirst($type);
            $this->notify->note("<comment>{$type}</comment> \"{$value}\" <comment>dropped</comment>");
        }
    }
public function drop(): void
    {
        $dropped = $this->repository->drop();

        if (count($dropped) === 0) {
            return;
        }

        $this->notify->note('');

        foreach ($dropped as [$type, $value]) {
            $type = ucfirst($type);
            $this->notify->note("<comment>{$type}</comment> \"{$value}\" <comment>dropped</comment>");
        }
    }
public function drop ( ) : void { $ dropped = $ this -> repository -> drop ( ) ; if ( count ( $ dropped ) === 0 ) { return ; } $ this -> notify -> note ( '' ) ; foreach ( $ dropped as [ $ type , $ value ] ) { $ type = ucfirst ( $ type ) ; $ this -> notify -> note ( "<comment>{$type}</comment> \"{$value}\" <comment>dropped</comment>" ) ; } }
Drops all of tables and views in the database.

@return void
Drops all of tables and views in the database .