1 | <?php |
||
16 | class Following extends Endpoint { |
||
17 | |||
18 | |||
19 | /** |
||
20 | * Get the authenticated user's following users |
||
21 | * |
||
22 | * @access public |
||
23 | * @param array $data |
||
24 | * @throws Exceptions/PinterestExceptions |
||
25 | * @return Collection |
||
26 | */ |
||
27 | 1 | public function users(array $data = []) |
|
32 | |||
33 | /** |
||
34 | * Get the authenticated user's following boards |
||
35 | * |
||
36 | * @access public |
||
37 | * @param array $data |
||
38 | * @throws Exceptions/PinterestExceptions |
||
39 | * @return Collection |
||
40 | */ |
||
41 | 1 | public function boards(array $data = []) |
|
46 | |||
47 | /** |
||
48 | * Get the authenticated user's following interest |
||
49 | * |
||
50 | * @access public |
||
51 | * @param array $data |
||
52 | * @throws Exceptions/PinterestExceptions |
||
53 | * @return Collection |
||
54 | */ |
||
55 | 7 | public function interests(array $data = []) |
|
60 | |||
61 | /** |
||
62 | * Follow a user |
||
63 | * |
||
64 | * @access public |
||
65 | * @param string $user |
||
66 | * @throws Exceptions/PinterestExceptions |
||
67 | * @return boolean |
||
68 | */ |
||
69 | 1 | public function followUser($user) |
|
76 | |||
77 | /** |
||
78 | * Unfollow a user |
||
79 | * |
||
80 | * @access public |
||
81 | * @param string $user |
||
82 | * @throws Exceptions/PinterestExceptions |
||
83 | * @return boolean |
||
84 | */ |
||
85 | 1 | public function unfollowUser($user) |
|
90 | |||
91 | /** |
||
92 | * Follow a board |
||
93 | * |
||
94 | * @access public |
||
95 | * @param string $board |
||
96 | * @throws Exceptions/PinterestExceptions |
||
97 | * @return boolean |
||
98 | */ |
||
99 | public function followBoard($board) |
||
106 | |||
107 | /** |
||
108 | * Unfollow a board |
||
109 | * |
||
110 | * @access public |
||
111 | * @param string $board_id |
||
112 | * @throws Exceptions/PinterestExceptions |
||
113 | * @return boolean |
||
114 | */ |
||
115 | 2 | public function unfollowBoard($board_id) |
|
120 | |||
121 | /** |
||
122 | * Follow a board |
||
123 | * |
||
124 | * @access public |
||
125 | * @param string $interest |
||
126 | * @throws Exceptions/PinterestExceptions |
||
127 | * @return boolean |
||
128 | */ |
||
129 | public function followInterest($interest) |
||
136 | |||
137 | /** |
||
138 | * Unfollow an interest |
||
139 | * |
||
140 | * @access public |
||
141 | * @param string $interest_id |
||
142 | * @throws Exceptions/PinterestExceptions |
||
143 | * @return boolean |
||
144 | */ |
||
145 | public function unfollowInterest($interest_id) |
||
150 | } |