| 1 | <?php |
||
| 10 | trait StandardApi {
|
||
| 11 | |||
| 12 | /** |
||
| 13 | * Makes the API call return the links field, common to all standard API types |
||
| 14 | * @param bool|mixed $bool |
||
| 15 | * @return $this |
||
| 16 | */ |
||
| 17 | 11 | public function setLinks($bool) |
|
| 22 | |||
| 23 | /** |
||
| 24 | * Makes the API call return the meta field, common to all standard API types |
||
| 25 | * @param bool|mixed $bool |
||
| 26 | * @return $this |
||
| 27 | */ |
||
| 28 | 15 | public function setMeta($bool) |
|
| 33 | |||
| 34 | /** |
||
| 35 | * Makes the API call return the querystring field, common to all standard API types |
||
| 36 | * @param bool|mixed $bool |
||
| 37 | * @return $this |
||
| 38 | */ |
||
| 39 | 7 | public function setQuerystring($bool) |
|
| 44 | |||
| 45 | /** |
||
| 46 | * Makes the API call return the breadcrumb field, common to all standard API types |
||
| 47 | * @param bool|mixed $bool |
||
| 48 | * @return $this |
||
| 49 | */ |
||
| 50 | 7 | public function setBreadcrumb($bool) |
|
| 55 | } |
||
| 56 |