public function getContent($textquery, $parameters = [], &$pager = [], $whereparameters = [])
    {
        if ($this->legacyStorage !== null) {
            return $this->legacy()->getContent($textquery, $parameters, $pager, $whereparameters);
        } elseif ($this->queryService !== null) {
            return $this->queryService->getContent($textquery, array_merge($parameters, $whereparameters));
        }

        throw new \Exception('Legacy service nor Query service loaded');
    }
public function getContent($textquery, $parameters = [], &$pager = [], $whereparameters = [])
    {
        if ($this->legacyStorage !== null) {
            return $this->legacy()->getContent($textquery, $parameters, $pager, $whereparameters);
        } elseif ($this->queryService !== null) {
            return $this->queryService->getContent($textquery, array_merge($parameters, $whereparameters));
        }

        throw new \Exception('Legacy service nor Query service loaded');
    }
public function getContent ( $ textquery , $ parameters = [ ] , & $ pager = [ ] , $ whereparameters = [ ] ) { if ( $ this -> legacyStorage !== null ) { return $ this -> legacy ( ) -> getContent ( $ textquery , $ parameters , $ pager , $ whereparameters ) ; } elseif ( $ this -> queryService !== null ) { return $ this -> queryService -> getContent ( $ textquery , array_merge ( $ parameters , $ whereparameters ) ) ; } throw new \ Exception ( 'Legacy service nor Query service loaded' ) ; }
Note that this method is explicitly defined here because the magic method above cannot
pass dynamic variables by reference.

@param string $textquery
@param array  $parameters
@param array  $pager
@param array  $whereparameters

@deprecated

@return mixed
Note that this method is explicitly defined here because the magic method above cannot pass dynamic variables by reference .