src/Publisher/AssetManager.php
public function foundation(): bool
    {
        $path = \rtrim($this->app->basePath(), '/').'/vendor/orchestra/foundation/public';

        if (! $this->app->make('files')->isDirectory($path)) {
            return false;
        }

        try {
            return $this->publish('orchestra/foundation', $path);
        } catch (Exception $e) {
            throw new FilePermissionException("Unable to publish [{$path}].");
        }
    }
public function foundation(): bool
    {
        $path = \rtrim($this->app->basePath(), '/').'/vendor/orchestra/foundation/public';

        if (! $this->app->make('files')->isDirectory($path)) {
            return false;
        }

        try {
            return $this->publish('orchestra/foundation', $path);
        } catch (Exception $e) {
            throw new FilePermissionException("Unable to publish [{$path}].");
        }
    }
public function foundation ( ) : bool { $ path = \ rtrim ( $ this -> app -> basePath ( ) , '/' ) . '/vendor/orchestra/foundation/public' ; if ( ! $ this -> app -> make ( 'files' ) -> isDirectory ( $ path ) ) { return false ; } try { return $ this -> publish ( 'orchestra/foundation' , $ path ) ; } catch ( Exception $ e ) { throw new FilePermissionException ( "Unable to publish [{$path}]." ) ; } }
Migrate Orchestra Platform.

@throws \Orchestra\Contracts\Publisher\FilePermissionException

@return bool
Migrate Orchestra Platform .