concrete/src/Updater/ApplicationUpdate.php
public static function getByVersionNumber($version)
    {
        $updates = id(new Update())->getLocalAvailableUpdates();
        foreach ($updates as $up) {
            if ($up->getUpdateVersion() == $version) {
                return $up;
            }
        }
    }
public static function getByVersionNumber($version)
    {
        $updates = id(new Update())->getLocalAvailableUpdates();
        foreach ($updates as $up) {
            if ($up->getUpdateVersion() == $version) {
                return $up;
            }
        }
    }
public static function getByVersionNumber ( $ version ) { $ updates = id ( new Update ( ) ) -> getLocalAvailableUpdates ( ) ; foreach ( $ updates as $ up ) { if ( $ up -> getUpdateVersion ( ) == $ version ) { return $ up ; } } }
Returns an ApplicationUpdate instance given its version string.

@param string $version

@return ApplicationUpdate|null Returns null if there's no update with $version, or an ApplicationUpdate instance if $version is ok
Returns an ApplicationUpdate instance given its version string .