1 | <?php |
||
16 | class Sections extends Endpoint { |
||
17 | |||
18 | /** |
||
19 | * Create a section |
||
20 | * |
||
21 | * @access public |
||
22 | * @param string $board |
||
23 | * @param array $data |
||
24 | * @throws \DirkGroenen\Pinterest\Exceptions\PinterestException |
||
25 | * @return Section |
||
26 | */ |
||
27 | 1 | public function create(string $board, array $data) |
|
32 | |||
33 | /** |
||
34 | * Get sections for the given board |
||
35 | * |
||
36 | * @access public |
||
37 | * @param string $board |
||
38 | * @param array $data |
||
39 | * @throws \DirkGroenen\Pinterest\Exceptions\PinterestException |
||
40 | * @return Collection<Section> |
||
|
|||
41 | */ |
||
42 | 1 | public function get(string $board, array $data = []) |
|
49 | |||
50 | /** |
||
51 | * Get pins for section |
||
52 | * |
||
53 | * @access public |
||
54 | * @param string $section |
||
55 | * @param array $data |
||
56 | * @throws \DirkGroenen\Pinterest\Exceptions\PinterestException |
||
57 | * @return Collection<Pin> |
||
58 | */ |
||
59 | 1 | public function pins(string $section, array $data = []) |
|
64 | |||
65 | /** |
||
66 | * Delete a board's section |
||
67 | * |
||
68 | * @access public |
||
69 | * @param string $section |
||
70 | * @throws \DirkGroenen\Pinterest\Exceptions\PinterestException |
||
71 | * @return Collection<Pin> |
||
72 | */ |
||
73 | 1 | public function delete($section) |
|
78 | } |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.