src/Console/MigrateDropCommand.php
protected function execute(InputInterface $input, OutputInterface $output)
    {
        $migrate = Migrate::new($input->getOption('dsn'), $input->getOption('path'), $output);
        $migrate
            ->drop()
            ->close();

        $output->writeln('');
        $output->writeln('<comment>Database cleaned</comment>');
    }
protected function execute(InputInterface $input, OutputInterface $output)
    {
        $migrate = Migrate::new($input->getOption('dsn'), $input->getOption('path'), $output);
        $migrate
            ->drop()
            ->close();

        $output->writeln('');
        $output->writeln('<comment>Database cleaned</comment>');
    }
protected function execute ( InputInterface $ input , OutputInterface $ output ) { $ migrate = Migrate :: new ( $ input -> getOption ( 'dsn' ) , $ input -> getOption ( 'path' ) , $ output ) ; $ migrate -> drop ( ) -> close ( ) ; $ output -> writeln ( '' ) ; $ output -> writeln ( '<comment>Database cleaned</comment>' ) ; }
Execute command, captain.

@param \Symfony\Component\Console\Input\InputInterface $input
@param \Symfony\Component\Console\Output\OutputInterface $output
@return int|null|void
Execute command captain .