private static function tryResolveBySpomkyLabsJoseSystem(): ?SpomkyLabsJoseSignatureGenerator
    {
        $requiredClasses = [
            JWKFactory::class,
            JWSFactory::class,
        ];

        foreach ($requiredClasses as $requiredClass) {
            if (!class_exists($requiredClass)) {
                return null;
            }
        }

        return new SpomkyLabsJoseSignatureGenerator();
    }
private static function tryResolveBySpomkyLabsJoseSystem(): ?SpomkyLabsJoseSignatureGenerator
    {
        $requiredClasses = [
            JWKFactory::class,
            JWSFactory::class,
        ];

        foreach ($requiredClasses as $requiredClass) {
            if (!class_exists($requiredClass)) {
                return null;
            }
        }

        return new SpomkyLabsJoseSignatureGenerator();
    }
private static function tryResolveBySpomkyLabsJoseSystem ( ) : ? SpomkyLabsJoseSignatureGenerator { $ requiredClasses = [ JWKFactory :: class , JWSFactory :: class , ] ; foreach ( $ requiredClasses as $ requiredClass ) { if ( ! class_exists ( $ requiredClass ) ) { return null ; } } return new SpomkyLabsJoseSignatureGenerator ( ) ; }
Try to resolve SpomkyLabsJoseSignatureGenerator

@return SpomkyLabsJoseSignatureGenerator|null
Try to resolve SpomkyLabsJoseSignatureGenerator