public function getServlet($key) { if ($this->servlets->has($key)) { return $this->servlets->get($key); } }