PHP Interface SocialShare\Provider\ProviderInterface

Author: Kévin Dunglas ([email protected])
Afficher le fichier Open project: dunglas/php-socialshare Interface Usage Examples

Méthodes publiques

Méthode Description
getLink ( string $url, array $options = [] ) : string Gets the share link for the URL.
getName ( ) : string Gets provider's name.
getShares ( string $url ) : integer Gets the number of shares of the URL.

Method Details

getName() public méthode

Gets provider's name.
public getName ( ) : string
Résultat string

getShares() public méthode

Gets the number of shares of the URL.
public getShares ( string $url ) : integer
$url string
Résultat integer