protected function getAutoloadFiles(Collection $autoload): Collection
    {
        return $autoload->map(function ($path) {
            return Str::contains($path, '::') ? $path : 'source-path::'.\ltrim($path, '/');
        })->merge(['source-path::src/orchestra.php', 'source-path::orchestra.php']);
    }
protected function getAutoloadFiles(Collection $autoload): Collection
    {
        return $autoload->map(function ($path) {
            return Str::contains($path, '::') ? $path : 'source-path::'.\ltrim($path, '/');
        })->merge(['source-path::src/orchestra.php', 'source-path::orchestra.php']);
    }
protected function getAutoloadFiles ( Collection $ autoload ) : Collection { return $ autoload -> map ( function ( $ path ) { return Str :: contains ( $ path , '::' ) ? $ path : 'source-path::' . \ ltrim ( $ path , '/' ) ; } ) -> merge ( [ 'source-path::src/orchestra.php' , 'source-path::orchestra.php' ] ) ; }
Get list of available paths for the extension.

@param  array  $autoload

@return \Illuminate\Support\Collection
Get list of available paths for the extension .