src/Services/Migrator.php
private function pluginMigrations()
    {
        $files = [];

        if (file_exists($this->pluginManifestOfMigrations)) {
            $basePath = base_path();
            /** @noinspection PhpIncludeInspection */
            $migrations = include $this->pluginManifestOfMigrations;
            foreach ($migrations as $name => $file) {
                $files[$name] = $basePath . DIRECTORY_SEPARATOR . $file;
            }
        }

        return $files;
    }
private function pluginMigrations()
    {
        $files = [];

        if (file_exists($this->pluginManifestOfMigrations)) {
            $basePath = base_path();
            /** @noinspection PhpIncludeInspection */
            $migrations = include $this->pluginManifestOfMigrations;
            foreach ($migrations as $name => $file) {
                $files[$name] = $basePath . DIRECTORY_SEPARATOR . $file;
            }
        }

        return $files;
    }
private function pluginMigrations ( ) { $ files = [ ] ; if ( file_exists ( $ this -> pluginManifestOfMigrations ) ) { $ basePath = base_path ( ) ; /** @noinspection PhpIncludeInspection */ $ migrations = include $ this -> pluginManifestOfMigrations ; foreach ( $ migrations as $ name => $ file ) { $ files [ $ name ] = $ basePath . DIRECTORY_SEPARATOR . $ file ; } } return $ files ; }
Read migrations included by plugins.

@return array
Read migrations included by plugins .