protected function addDatabaseOptions()
    {
        $this
            ->addOption('database-host', 'H', InputOption::VALUE_REQUIRED, 'Name / IP of the host where the database is running.')
            ->addOption('database-user', 'u', InputOption::VALUE_REQUIRED, 'Username to access the database.')
            ->addOption('database-pass', 'p', InputOption::VALUE_REQUIRED, 'Password to access the database.')
            ->addOption('database-port', 'P', InputOption::VALUE_REQUIRED, 'Port where the database is listen.')
            ->addOption('database-name', 'N', InputOption::VALUE_REQUIRED, 'Name of the database which should be used.');
    }
protected function addDatabaseOptions()
    {
        $this
            ->addOption('database-host', 'H', InputOption::VALUE_REQUIRED, 'Name / IP of the host where the database is running.')
            ->addOption('database-user', 'u', InputOption::VALUE_REQUIRED, 'Username to access the database.')
            ->addOption('database-pass', 'p', InputOption::VALUE_REQUIRED, 'Password to access the database.')
            ->addOption('database-port', 'P', InputOption::VALUE_REQUIRED, 'Port where the database is listen.')
            ->addOption('database-name', 'N', InputOption::VALUE_REQUIRED, 'Name of the database which should be used.');
    }
protected function addDatabaseOptions ( ) { $ this -> addOption ( 'database-host' , 'H' , InputOption :: VALUE_REQUIRED , 'Name / IP of the host where the database is running.' ) -> addOption ( 'database-user' , 'u' , InputOption :: VALUE_REQUIRED , 'Username to access the database.' ) -> addOption ( 'database-pass' , 'p' , InputOption :: VALUE_REQUIRED , 'Password to access the database.' ) -> addOption ( 'database-port' , 'P' , InputOption :: VALUE_REQUIRED , 'Port where the database is listen.' ) -> addOption ( 'database-name' , 'N' , InputOption :: VALUE_REQUIRED , 'Name of the database which should be used.' ) ; }
Adds several options for database connections to the command.

@return void
Adds several options for database connections to the command .