public function getEndpoint($name)
    {
        if (!isset($this->endpoint[$name])) {
            throw new OutOfBoundsException("No Endpoint registered for '{$name}'.");
        }

        return $this->endpoint[$name];
    }
public function getEndpoint($name)
    {
        if (!isset($this->endpoint[$name])) {
            throw new OutOfBoundsException("No Endpoint registered for '{$name}'.");
        }

        return $this->endpoint[$name];
    }
public function getEndpoint ( $ name ) { if ( ! isset ( $ this -> endpoint [ $ name ] ) ) { throw new OutOfBoundsException ( "No Endpoint registered for '{$name}'." ) ; } return $ this -> endpoint [ $ name ] ; }
Get Endpoint with $name.

@param string $name

@return \EzSystems\EzPlatformSolrSearchEngine\Gateway\Endpoint
Get Endpoint with $name .