Predis\Command\Processor\ProcessorChain::getIterator PHP Method

getIterator() public method

Returns an iterator over the list of command processor in the chain.
    public function getIterator()
    {
        return new \ArrayIterator($this->processors);
    }