also looking at this
Tags model
#14
5 files
+165
-74
Review threads live on the whole diff, not on one commit, so none are shown here - a thread's line means something in the branch's final form, and painting it into an intermediate step would put it on code it is not about.
| @@ -247,4 +247,16 @@ class Folder | ||
| 247 | 247 | |
| 248 | 248 | return (new Tag($client))->setFolder($this); |
| 249 | 249 | } |
| 250 | ||
| 251 | /** | |
| 252 | * Initialize the tags model. | |
| 253 | * | |
| 254 | * @return Meema\MeemaApi\Models\Tag | |
| 255 | */ | |
| 256 | public function tags(): Tag | |
| 257 | { | |
| 258 | $client = new Client($this->client->getAccessKey()); | |
| 259 | ||
| 260 | return (new Tag($client))->setFolder($this); | |
| 261 | } | |
| 250 | 262 | } |