protected function getMigrationsForRollback(array $options)
    {
        $steps = Arr::get($options, 'step', 0);

        if ($steps > 0) {
            return $this->storage->getMigrations($steps);
        } else {
            return $this->storage->getLast();
        }
    }
protected function getMigrationsForRollback(array $options)
    {
        $steps = Arr::get($options, 'step', 0);

        if ($steps > 0) {
            return $this->storage->getMigrations($steps);
        } else {
            return $this->storage->getLast();
        }
    }
protected function getMigrationsForRollback ( array $ options ) { $ steps = Arr :: get ( $ options , 'step' , 0 ) ; if ( $ steps > 0 ) { return $ this -> storage -> getMigrations ( $ steps ) ; } else { return $ this -> storage -> getLast ( ) ; } }
Get the migrations for a rollback operation.

@param  array $options

@return array
Get the migrations for a rollback operation .