1<?php
2/**
3 * This file is part of the Tmdb PHP API created by Michael Roterman.
4 *
5 * For the full copyright and license information, please view the LICENSE
6 * file that was distributed with this source code.
7 *
8 * @package Tmdb
9 * @author Michael Roterman <michael@wtfz.net>
10 * @copyright (c) 2013, Michael Roterman
11 * @version 0.0.1
12 */
13namespace Tmdb;
14
15trait ApiMethodsTrait
16{
17    /**
18     * @return Api\Account
19     */
20    public function getAccountApi()
21    {
22        return new Api\Account($this);
23    }
24
25    /**
26     * @return Api\Authentication
27     */
28    public function getAuthenticationApi()
29    {
30        return new Api\Authentication($this);
31    }
32
33    /**
34     * @return Api\Certifications
35     */
36    public function getCertificationsApi()
37    {
38        return new Api\Certifications($this);
39    }
40
41    /**
42     * @return Api\Changes
43     */
44    public function getChangesApi()
45    {
46        return new Api\Changes($this);
47    }
48
49    /**
50     * @return Api\Collections
51     */
52    public function getCollectionsApi()
53    {
54        return new Api\Collections($this);
55    }
56
57    /**
58     * @return Api\Companies
59     */
60    public function getCompaniesApi()
61    {
62        return new Api\Companies($this);
63    }
64
65    /**
66     * @return Api\Configuration
67     */
68    public function getConfigurationApi()
69    {
70        return new Api\Configuration($this);
71    }
72
73    /**
74     * @return Api\Credits
75     */
76    public function getCreditsApi()
77    {
78        return new Api\Credits($this);
79    }
80
81    /**
82     * @return Api\Discover
83     */
84    public function getDiscoverApi()
85    {
86        return new Api\Discover($this);
87    }
88
89    /**
90     * @return Api\Find
91     */
92    public function getFindApi()
93    {
94        return new Api\Find($this);
95    }
96
97    /**
98     * @return Api\Genres
99     */
100    public function getGenresApi()
101    {
102        return new Api\Genres($this);
103    }
104
105    /**
106     * @return Api\GuestSession
107     */
108    public function getGuestSessionApi()
109    {
110        return new Api\GuestSession($this);
111    }
112
113    /**
114     * @return Api\Jobs
115     */
116    public function getJobsApi()
117    {
118        return new Api\Jobs($this);
119    }
120
121    /**
122     * @return Api\Keywords
123     */
124    public function getKeywordsApi()
125    {
126        return new Api\Keywords($this);
127    }
128
129    /**
130     * @return Api\Lists
131     */
132    public function getListsApi()
133    {
134        return new Api\Lists($this);
135    }
136
137    /**
138     * @return Api\Movies
139     */
140    public function getMoviesApi()
141    {
142        return new Api\Movies($this);
143    }
144
145    /**
146     * @return Api\Networks
147     */
148    public function getNetworksApi()
149    {
150        return new Api\Networks($this);
151    }
152
153    /**
154     * @return Api\People
155     */
156    public function getPeopleApi()
157    {
158        return new Api\People($this);
159    }
160
161    /**
162     * @return Api\Reviews
163     */
164    public function getReviewsApi()
165    {
166        return new Api\Reviews($this);
167    }
168
169    /**
170     * @return Api\Search
171     */
172    public function getSearchApi()
173    {
174        return new Api\Search($this);
175    }
176
177    /**
178     * @return Api\Timezones
179     */
180    public function getTimezonesApi()
181    {
182        return new Api\Timezones($this);
183    }
184
185    /**
186     * @return Api\Tv
187     */
188    public function getTvApi()
189    {
190        return new Api\Tv($this);
191    }
192
193    /**
194     * @return Api\TvSeason
195     */
196    public function getTvSeasonApi()
197    {
198        return new Api\TvSeason($this);
199    }
200
201    /**
202     * @return Api\TvEpisode
203     */
204    public function getTvEpisodeApi()
205    {
206        return new Api\TvEpisode($this);
207    }
208}
209