also looking at this
Teams model
#12
3 files
+130
-1
| @@ -6,6 +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 | 10 | |
| 10 | 11 | class Client |
| 11 | 12 | { |
| @@ -105,4 +106,14 @@ class Client | ||
| 105 | 106 | { |
| 106 | 107 | return new Media($this); |
| 107 | 108 | } |
| 109 | ||
| 110 | /** | |
| 111 | * Initialize the team model. | |
| 112 | * | |
| 113 | * @return Meema\MeemaApi\Models\Team | |
| 114 | */ | |
| 115 | public function teams(): Team | |
| 116 | { | |
| 117 | return new Team($this); | |
| 118 | } | |
| 108 | 119 | } |