Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
SocialShare
Provider
ProviderInterface
PHP Interface SocialShare\Provider\ProviderInterface
Author:
Kévin Dunglas (
[email protected]
)
Show file
Open project: dunglas/php-socialshare
Interface Usage Examples
Public Methods
Method
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
method
Gets the share link for the URL.
public
getLink
(
string
$url
,
array
$options
= [] ) :
string
$url
string
$options
array
return
string
getName()
public
method
Gets provider's name.
public
getName
( ) :
string
return
string
getShares()
public
method
Gets the number of shares of the URL.
public
getShares
(
string
$url
) :
integer
$url
string
return
integer