src/Providers/Concerns/PackageProvider.php
protected function getAppViewPaths(string $package): array
    {
        return \array_map(function ($path) use ($package) {
            return "{$path}/packages/{$package}";
        }, $this->app->make('config')->get('view.paths', []));
    }
protected function getAppViewPaths(string $package): array
    {
        return \array_map(function ($path) use ($package) {
            return "{$path}/packages/{$package}";
        }, $this->app->make('config')->get('view.paths', []));
    }
protected function getAppViewPaths ( string $ package ) : array { return \ array_map ( function ( $ path ) use ( $ package ) { return "{$path}/packages/{$package}" ; } , $ this -> app -> make ( 'config' ) -> get ( 'view.paths' , [ ] ) ) ; }
Get the application package view paths.

@param  string  $package

@return array
Get the application package view paths .