Laratrust\MigrationCommand::alreadyExistingMigrations PHP Метод

alreadyExistingMigrations() защищенный Метод

Check if there is another migration with the same suffix.
protected alreadyExistingMigrations ( ) : array
Результат array
    protected function alreadyExistingMigrations()
    {
        $matchingFiles = glob($this->getMigrationPath('*'));
        return array_map(function ($path) {
            return basename($path);
        }, $matchingFiles);
    }