app/libraries/Jentil/Utilities/FileSystem.php
public function vendorDir(
        string $type,
        string $append = '',
        string $form = ''
    ): string {
        $rel_dir = \explode('/', $this->relativeDir());
        $vendor = \reset($rel_dir) ?: 'vendor';

        return 'relative' === $form ?
            "{$vendor}{$append}" :
            $this->themeDir($type, "/{$vendor}{$append}");
    }
public function vendorDir(
        string $type,
        string $append = '',
        string $form = ''
    ): string {
        $rel_dir = \explode('/', $this->relativeDir());
        $vendor = \reset($rel_dir) ?: 'vendor';

        return 'relative' === $form ?
            "{$vendor}{$append}" :
            $this->themeDir($type, "/{$vendor}{$append}");
    }
public function vendorDir ( string $ type , string $ append = '' , string $ form = '' ) : string { $ rel_dir = \ explode ( '/' , $ this -> relativeDir ( ) ) ; $ vendor = \ reset ( $ rel_dir ) ? : 'vendor' ; return 'relative' === $ form ? "{$vendor}{$append}" : $ this -> themeDir ( $ type , "/{$vendor}{$append}" ) ; }
Get composer's vendor directory

@param string $type 'path' or 'url'.
@param string $form 'relative' or 'absolute'.
Get composer s vendor directory