class Factory

Factory class.

This class handles the creation of resource pool objects.

Methods

static ResourcePoolInterface
create(JsonDecoderClientInterface $client, ClientOptions $options)

Creates the appropriate ResourcePool object using the given client and options.

Details

at line 32
static ResourcePoolInterface create(JsonDecoderClientInterface $client, ClientOptions $options)

Creates the appropriate ResourcePool object using the given client and options.

Parameters

JsonDecoderClientInterface $client
ClientOptions $options

Return Value

ResourcePoolInterface