interface ShareButtonsServiceInterface

Interface to be called for DI for ShareButtons Main related services

Methods

addShare(string $share, string $url)

Adds a share to the database

array
getMainShares()

Returns main share networks

string|null
getShareData(string $share)

Returns data related to share

Details

at line 24
addShare(string $share, string $url)

Adds a share to the database

Parameters

string $share
string $url

at line 30
array getMainShares()

Returns main share networks

Return Value

array

at line 36
string|null getShareData(string $share)

Returns data related to share

Parameters

string $share

Return Value

string|null