src/Connection/PhpiredisStreamConnection.php
private function createReader()
    {
        $reader = phpiredis_reader_create();

        phpiredis_reader_set_status_handler($reader, $this->getStatusHandler());
        phpiredis_reader_set_error_handler($reader, $this->getErrorHandler());

        return $reader;
    }
private function createReader()
    {
        $reader = phpiredis_reader_create();

        phpiredis_reader_set_status_handler($reader, $this->getStatusHandler());
        phpiredis_reader_set_error_handler($reader, $this->getErrorHandler());

        return $reader;
    }
private function createReader ( ) { $ reader = phpiredis_reader_create ( ) ; phpiredis_reader_set_status_handler ( $ reader , $ this -> getStatusHandler ( ) ) ; phpiredis_reader_set_error_handler ( $ reader , $ this -> getErrorHandler ( ) ) ; return $ reader ; }
Creates a new instance of the protocol reader resource.

@return resource
Creates a new instance of the protocol reader resource .