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.
| @@ -235,4 +235,16 @@ class Folder | ||
| 235 | 235 | |
| 236 | 236 | return (new Tag($client))->setFolder($this); |
| 237 | 237 | } |
| 238 | ||
| 239 | /** | |
| 240 | * Initialize the tags model. | |
| 241 | * | |
| 242 | * @return Meema\MeemaApi\Models\Tag | |
| 243 | */ | |
| 244 | public function tags(): Tag | |
| 245 | { | |
| 246 | $client = new Client($this->client->getAccessKey()); | |
| 247 | ||
| 248 | return (new Tag($client))->setFolder($this); | |
| 249 | } | |
| 238 | 250 | } |