public function getVersionsBehind()
    {
        $current = $this->getCurrentVersion();
        $versions = array_filter($this->getVersions(),
                function ($version) use ($current) {
                    return $version > $current;
                }
        );

        return count($versions);
    }
public function getVersionsBehind()
    {
        $current = $this->getCurrentVersion();
        $versions = array_filter($this->getVersions(),
                function ($version) use ($current) {
                    return $version > $current;
                }
        );

        return count($versions);
    }
public function getVersionsBehind ( ) { $ current = $ this -> getCurrentVersion ( ) ; $ versions = array_filter ( $ this -> getVersions ( ) , function ( $ version ) use ( $ current ) { return $ version > $ current ; } ) ; return count ( $ versions ) ; }
Retunr the number of versions behind.

@return int
Retunr the number of versions behind .