public function isNeedUpdate($package)
    {
        $packageBower = $this->config->getPackageBowerFileContent($package);
        $semver = new version($packageBower['version']);

        return !$semver->satisfies(new expression($package->getRequiredVersion()));
    }
public function isNeedUpdate($package)
    {
        $packageBower = $this->config->getPackageBowerFileContent($package);
        $semver = new version($packageBower['version']);

        return !$semver->satisfies(new expression($package->getRequiredVersion()));
    }
public function isNeedUpdate ( $ package ) { $ packageBower = $ this -> config -> getPackageBowerFileContent ( $ package ) ; $ semver = new version ( $ packageBower [ 'version' ] ) ; return ! $ semver -> satisfies ( new expression ( $ package -> getRequiredVersion ( ) ) ) ; }
Update only if needed is greater version

@param  PackageInterface $package
@return bool
Update only if needed is greater version