The GrpcFallbackTransportOptions class provides typing to the associative array of options used to configure {@see \Google\ApiCore\Transport\GrpcFallbackTransport}.
CloneableInstantiable
- Implements
ArrayAccess - Traits
Methods |
public __construct(array $options)
|
public offsetExists( $offset) : bool |
public offsetGet( $offset) |
public offsetSet( $offset, $value) : void
|
public offsetUnset( $offset) : void
|
public setClientCertSource(?callable $clientCertSource)
|
public setHttpHandler(?callable $httpHandler) |
public setLogger(Psr\Log\LoggerInterface|false|?null $logger)
|
public toArray() : array |
Properties |
private ?Closure $clientCertSource |
private ?Closure $httpHandler |
private Psr\Log\LoggerInterface|false|?null $logger |
Methods |
private fromArray(array $arr) : void Sets the array of options as class properites.
|
private static validateFileExists(string $filePath)
|
Methods |
private static validateFileExists(string $filePath)
|