Predis\Pipeline\Pipeline::getClient PHP Метод

getClient() публичный Метод

Returns the underlying client instance used by the pipeline object.
public getClient ( ) : Predis\ClientInterface
Результат Predis\ClientInterface
    public function getClient()
    {
        return $this->client;
    }

Usage Example

Пример #1
0
 /**
  * @group disconnected
  */
 public function testConstructor()
 {
     $client = new Client();
     $pipeline = new Pipeline($client);
     $this->assertSame($client, $pipeline->getClient());
 }