public function checkForUpdates(bool $force = false) { $update = $force || $this->needsUpdate(); if ($update) { // Load all the suppliers $this->getSupplier(); // Actually perform the update check $this->doUpdateCheck(); } }