version; } /** * @return string */ public function getStatus() { return $this->status; } /** * @return OpenStackComponent */ public function getComponent() { return $this->component; } /** * @return bool */ public function hasComponent(){ try{ if(is_null($this->component)) return false; return $this->component->getId() > 0 ; } catch (\Exception $ex){ return false; } } }