src/Database/Console/Migrations/Packages.php
protected function getPackageMigrationPaths(string $package): array
    {
        return collect($this->option('path') ?: 'database/migrations')
                    ->map(function ($path) use ($package) {
                        return $this->packagePath.'/'.$package.'/'.$path;
                    })->all();
    }
protected function getPackageMigrationPaths(string $package): array
    {
        return collect($this->option('path') ?: 'database/migrations')
                    ->map(function ($path) use ($package) {
                        return $this->packagePath.'/'.$package.'/'.$path;
                    })->all();
    }
protected function getPackageMigrationPaths ( string $ package ) : array { return collect ( $ this -> option ( 'path' ) ? : 'database/migrations' ) -> map ( function ( $ path ) use ( $ package ) { return $ this -> packagePath . '/' . $ package . '/' . $ path ; } ) -> all ( ) ; }
Get the path to the package migration directory.

@param  string  $package

@return array
Get the path to the package migration directory .