also looking at this
Tags model
#14
5 files
+165
-74
| @@ -6,7 +6,7 @@ use Dotenv\Dotenv; | ||
| 6 | 6 | use GuzzleHttp\Client as GuzzleClient; |
| 7 | 7 | use Meema\MeemaApi\Models\Folder; |
| 8 | 8 | use Meema\MeemaApi\Models\Media; |
| 9 | use Meema\MeemaApi\Models\Team; | |
| 9 | use Meema\MeemaApi\Models\Tag; | |
| 10 | 10 | |
| 11 | 11 | class Client |
| 12 | 12 | { |
| @@ -108,12 +108,12 @@ class Client | ||
| 108 | 108 | } |
| 109 | 109 | |
| 110 | 110 | /** |
| 111 | * Initialize the team model. | |
| 111 | * Initialize the media model. | |
| 112 | 112 | * |
| 113 | * @return Meema\MeemaApi\Models\Team | |
| 113 | * @return Meema\MeemaApi\Models\Tag | |
| 114 | 114 | */ |
| 115 | public function teams(): Team | |
| 115 | public function tags(): Tag | |
| 116 | 116 | { |
| 117 | return new Team($this); | |
| 117 | return new Tag($this); | |
| 118 | 118 | } |
| 119 | 119 | } |