public function getStatus() { if ($this->hasUpdates()) { $status = 'outdated'; } else { $status = 'current'; } return $status; }