public function guessExtensionPath(string $path): string
    {
        $path = \str_replace('orchestra.json', '', $path);
        $app = \rtrim($this->config['path.app'], '/');
        $base = \rtrim($this->config['path.base'], '/');

        return \str_replace(
            ["{$app}/", "{$base}/vendor/", "{$base}/"],
            ['app::', 'vendor::', 'base::'],
            $path
        );
    }
public function guessExtensionPath(string $path): string
    {
        $path = \str_replace('orchestra.json', '', $path);
        $app = \rtrim($this->config['path.app'], '/');
        $base = \rtrim($this->config['path.base'], '/');

        return \str_replace(
            ["{$app}/", "{$base}/vendor/", "{$base}/"],
            ['app::', 'vendor::', 'base::'],
            $path
        );
    }
public function guessExtensionPath ( string $ path ) : string { $ path = \ str_replace ( 'orchestra.json' , '' , $ path ) ; $ app = \ rtrim ( $ this -> config [ 'path.app' ] , '/' ) ; $ base = \ rtrim ( $ this -> config [ 'path.base' ] , '/' ) ; return \ str_replace ( [ "{$app}/" , "{$base}/vendor/" , "{$base}/" ] , [ 'app::' , 'vendor::' , 'base::' ] , $ path ) ; }
Guess extension path from manifest file.

@param  string  $path

@return string
Guess extension path from manifest file .