public function isCurrentMigration($name)
    {
        $current = $this->getCurrentMigration();

        return (!is_null($current) && $current->name == $name);
    }
public function isCurrentMigration($name)
    {
        $current = $this->getCurrentMigration();

        return (!is_null($current) && $current->name == $name);
    }
public function isCurrentMigration ( $ name ) { $ current = $ this -> getCurrentMigration ( ) ; return ( ! is_null ( $ current ) && $ current -> name == $ name ) ; }
Checks if the given migration name is the current one

@return bool
Checks if the given migration name is the current one