Psr17FactoryDiscovery::findResponseFactory(): WordPressAiClientDependenciesPsrHttpMessageResponseFactoryInterface

In this article

Return

WordPressAiClientDependenciesPsrHttpMessageResponseFactoryInterface

Source

public static function findResponseFactory()
{
    try {
        $messageFactory = static::findOneByType(ResponseFactoryInterface::class);
    } catch (DiscoveryFailedException $e) {
        throw self::createException('response factory', $e);
    }
    return static::instantiateClass($messageFactory);
}

User Contributed Notes

You must log in before being able to contribute a note or feedback.