Airship\Engine\Continuum::checkForUpdates PHP Method

checkForUpdates() public method

Do we need to do an update check? If so, start the update check process.
public checkForUpdates ( boolean $force = false )
$force boolean Force start the update check?
    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();
        }
    }