protected function databaseSetupPassword()
    {
        $pass        = $this->secret('Please enter the database password');
        $passConfirm = $this->secret('Please confirm the database password');

        if ($pass != $passConfirm) {
            $this->error('[ERROR] Database passwords do not match. Please retry.');
            $this->databaseSetupPassword();
        }

        return $pass;
    }
protected function databaseSetupPassword()
    {
        $pass        = $this->secret('Please enter the database password');
        $passConfirm = $this->secret('Please confirm the database password');

        if ($pass != $passConfirm) {
            $this->error('[ERROR] Database passwords do not match. Please retry.');
            $this->databaseSetupPassword();
        }

        return $pass;
    }
protected function databaseSetupPassword ( ) { $ pass = $ this -> secret ( 'Please enter the database password' ) ; $ passConfirm = $ this -> secret ( 'Please confirm the database password' ) ; if ( $ pass != $ passConfirm ) { $ this -> error ( '[ERROR] Database passwords do not match. Please retry.' ) ; $ this -> databaseSetupPassword ( ) ; } return $ pass ; }
Setup the database credentials password.

@return string
Setup the database credentials password .