Predis\Pipeline\Pipeline::recordCommand PHP Method

recordCommand() protected method

Queues a command instance into the pipeline buffer.
protected recordCommand ( Predis\Command\CommandInterface $command )
$command Predis\Command\CommandInterface Command to be queued in the buffer.
    protected function recordCommand(CommandInterface $command)
    {
        $this->pipeline->enqueue($command);
    }