public function getPortal($key) { return array_key_exists($key, $this->portals) ? $this->portals[$key] : null; }