@@ -35,7 +35,7 @@ |
||
| 35 | 35 | /** |
| 36 | 36 | * Calls pinterest API to like or unlike Pin by ID |
| 37 | 37 | * |
| 38 | - * @param $pinId |
|
| 38 | + * @param integer $pinId |
|
| 39 | 39 | * @param $url |
| 40 | 40 | * @return bool |
| 41 | 41 | */ |
@@ -42,9 +42,18 @@ |
||
| 42 | 42 | return $this->getResponse()->checkErrorInResponse($response); |
| 43 | 43 | } |
| 44 | 44 | |
| 45 | + /** |
|
| 46 | + * @return string |
|
| 47 | + */ |
|
| 45 | 48 | abstract function getEntityIdName(); |
| 46 | 49 | |
| 50 | + /** |
|
| 51 | + * @return string |
|
| 52 | + */ |
|
| 47 | 53 | abstract function getFollowUrl(); |
| 48 | 54 | |
| 55 | + /** |
|
| 56 | + * @return string |
|
| 57 | + */ |
|
| 49 | 58 | abstract function getUnfFollowUrl(); |
| 50 | 59 | } |
| 51 | 60 | \ No newline at end of file |