public static function getComposerVendorPath()
    {
        $reflection = new ReflectionClass(ClassLoader::class);
        $vendorDir = dirname(dirname($reflection->getFileName()));
        if (!$vendorDir) {
            throw new NotFoundException('cannot find composer vendor path');
        }

        return $vendorDir;
    }
public static function getComposerVendorPath()
    {
        $reflection = new ReflectionClass(ClassLoader::class);
        $vendorDir = dirname(dirname($reflection->getFileName()));
        if (!$vendorDir) {
            throw new NotFoundException('cannot find composer vendor path');
        }

        return $vendorDir;
    }
public static function getComposerVendorPath ( ) { $ reflection = new ReflectionClass ( ClassLoader :: class ) ; $ vendorDir = dirname ( dirname ( $ reflection -> getFileName ( ) ) ) ; if ( ! $ vendorDir ) { throw new NotFoundException ( 'cannot find composer vendor path' ) ; } return $ vendorDir ; }
Get vendor absolute path

@return string

@throws \Kotori\Exception\NotFoundException
Get vendor absolute path