public function getGateway() {
        if (is_null($this->gateway)) {
            $this->gateway = $this->getZendServiceManager()->get(self::SERVICE_SEARCH_ID)
                ->setServiceLocator($this->getZendServiceManager())
                ->init();
        }
        return $this->gateway;
    }
public function getGateway() {
        if (is_null($this->gateway)) {
            $this->gateway = $this->getZendServiceManager()->get(self::SERVICE_SEARCH_ID)
                ->setServiceLocator($this->getZendServiceManager())
                ->init();
        }
        return $this->gateway;
    }
public function getGateway ( ) { if ( is_null ( $ this -> gateway ) ) { $ this -> gateway = $ this -> getZendServiceManager ( ) -> get ( self :: SERVICE_SEARCH_ID ) -> setServiceLocator ( $ this -> getZendServiceManager ( ) ) -> init ( ) ; } return $ this -> gateway ; }
return search gateway
@return SearchGateWayInterface
return search gateway