Jose\Factory\CompressionManagerFactory::getMethodClass PHP Method

getMethodClass() private static method

private static getMethodClass ( string $method ) : string
$method string
return string
    private static function getMethodClass($method)
    {
        Assertion::true(self::isAlgorithmSupported($method), sprintf('Compression method "%s" is not supported.', $method));
        return self::getSupportedMethods()[$method];
    }