public function getSharesTotal($url)
    {
        $shares = 0;
        foreach ($this->providers as $providerName => $provider) {
            $shares += $this->getShares($providerName, $url);
        }

        return $shares;
    }
public function getSharesTotal($url)
    {
        $shares = 0;
        foreach ($this->providers as $providerName => $provider) {
            $shares += $this->getShares($providerName, $url);
        }

        return $shares;
    }
public function getSharesTotal ( $ url ) { $ shares = 0 ; foreach ( $ this -> providers as $ providerName => $ provider ) { $ shares += $ this -> getShares ( $ providerName , $ url ) ; } return $ shares ; }
Gets the total number of share of the given URL for all providers.

@param string $url

@throws \RuntimeException

@return int
Gets the total number of share of the given URL for all providers .