src/Commands/UpgradeCommand.php
protected function alreadyExistingMigrations()
    {
        $matchingFiles = glob($this->getMigrationPath('*'));

        return array_map(function ($path) {
            return basename($path);
        }, $matchingFiles);
    }
protected function alreadyExistingMigrations()
    {
        $matchingFiles = glob($this->getMigrationPath('*'));

        return array_map(function ($path) {
            return basename($path);
        }, $matchingFiles);
    }
protected function alreadyExistingMigrations ( ) { $ matchingFiles = glob ( $ this -> getMigrationPath ( '*' ) ) ; return array_map ( function ( $ path ) { return basename ( $ path ) ; } , $ matchingFiles ) ; }
Check if there is another migration
with the same suffix.

@return array
Check if there is another migration with the same suffix .