public function getEndpoint($name) { return array_key_exists($name, $this->endpointsByName) ? $this->endpointsByName[$name] : null; }