Predis\Pipeline\Pipeline::__call PHP Method

__call() public method

Queues a command into the pipeline buffer.
public __call ( string $method, array $arguments )
$method string Command ID.
$arguments array Arguments for the command.
    public function __call($method, $arguments)
    {
        $command = $this->client->createCommand($method, $arguments);
        $this->recordCommand($command);
        return $this;
    }