src/AbstractSearchGateWay.php
public function init() {
        $options = $this->getServiceLocator()->get('search.options');
        $this->setOptions($options);
        $this->driverName = $options['driver'];
        $this->setDriverEscaper($this->getServiceLocator()->get($this->driverList[$this->driverName]));
        
        return $this;
    }
public function init() {
        $options = $this->getServiceLocator()->get('search.options');
        $this->setOptions($options);
        $this->driverName = $options['driver'];
        $this->setDriverEscaper($this->getServiceLocator()->get($this->driverList[$this->driverName]));
        
        return $this;
    }
public function init ( ) { $ options = $ this -> getServiceLocator ( ) -> get ( 'search.options' ) ; $ this -> setOptions ( $ options ) ; $ this -> driverName = $ options [ 'driver' ] ; $ this -> setDriverEscaper ( $ this -> getServiceLocator ( ) -> get ( $ this -> driverList [ $ this -> driverName ] ) ) ; return $ this ; }
init the gateway
@return $this
init the gateway