Méthode |
Description |
|
__construct ( Doctrine\Common\Cache\Cache $cache ) |
|
|
getLink ( string $providerName, string $url, array $options = [] ) : string |
Gets the sharing links for the given provider and url. |
|
getShares ( string $providerName, string $url, boolean $delayUpdate = false ) : integer |
Gets the number of share of the given URL on the given provider. |
|
getSharesTotal ( string $url ) : integer |
Gets the total number of share of the given URL for all providers. |
|
registerProvider ( SocialShare\Provider\ProviderInterface $provider, integer | DateInterval $lifeTime = 3600 ) |
Registers a provider. |
|
update ( ) |
Updates delayed URLs. |
|