public function getReadline()
    {
        if (!isset($this->readline)) {
            $className = $this->getReadlineClass();
            $this->readline = new $className(
                $this->getHistoryFile(),
                $this->getHistorySize(),
                $this->getEraseDuplicates()
            );
        }

        return $this->readline;
    }
public function getReadline()
    {
        if (!isset($this->readline)) {
            $className = $this->getReadlineClass();
            $this->readline = new $className(
                $this->getHistoryFile(),
                $this->getHistorySize(),
                $this->getEraseDuplicates()
            );
        }

        return $this->readline;
    }
public function getReadline ( ) { if ( ! isset ( $ this -> readline ) ) { $ className = $ this -> getReadlineClass ( ) ; $ this -> readline = new $ className ( $ this -> getHistoryFile ( ) , $ this -> getHistorySize ( ) , $ this -> getEraseDuplicates ( ) ) ; } return $ this -> readline ; }
Get the Psy Shell readline service.

By default, this service uses (in order of preference):

* GNU Readline
* Libedit
* A transient array-based readline emulation.

@return Readline
Get the Psy Shell readline service .