Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
SocialShare
Provider
ProviderInterface
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
getLink()
public
méthode
Gets the share link for the URL.
public
getLink
(
string
$url
,
array
$options
= [] ) :
string
$url
string
$options
array
Résultat
string
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