public function getAllTimeTotal()
    {
        $downloads = 0;

        foreach ($this->packages as $package) {
            $downloads += $package->getDownloads()->getTotal();
        }

        return $downloads;
    }
public function getAllTimeTotal()
    {
        $downloads = 0;

        foreach ($this->packages as $package) {
            $downloads += $package->getDownloads()->getTotal();
        }

        return $downloads;
    }
public function getAllTimeTotal ( ) { $ downloads = 0 ; foreach ( $ this -> packages as $ package ) { $ downloads += $ package -> getDownloads ( ) -> getTotal ( ) ; } return $ downloads ; }
Get the all time total downloads.

@return int
Get the all time total downloads .