Psr17FactoryDiscovery::findStreamFactory(): WordPressAiClientDependenciesPsrHttpMessageStreamFactoryInterface

In this article

Return

WordPressAiClientDependenciesPsrHttpMessageStreamFactoryInterface

Source

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

User Contributed Notes

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