| 1 | <?php |
||
| 19 | class StumbleUpon implements ProviderInterface |
||
| 20 | { |
||
| 21 | const NAME = 'stumbleupon'; |
||
| 22 | const SHARE_URL = 'https://www.stumbleupon.com/badge/?%s'; |
||
| 23 | const API_URL = 'https://www.stumbleupon.com/services/1.01/badge.getinfo?url=%s'; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * {@inheritdoc} |
||
| 27 | */ |
||
| 28 | public function getName() |
||
| 32 | |||
| 33 | /** |
||
| 34 | * {@inheritdoc} |
||
| 35 | */ |
||
| 36 | public function getLink($url, array $options = array()) |
||
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc} |
||
| 45 | */ |
||
| 46 | public function getShares($url) |
||
| 52 | } |
||
| 53 |