diff --git a/examples/companies/model/get.php b/examples/companies/model/get.php new file mode 100644 index 00000000..31467c72 --- /dev/null +++ b/examples/companies/model/get.php @@ -0,0 +1,22 @@ + + * @copyright (c) 2013, Michael Roterman + * @version 0.0.1 + */ +require_once('../../../vendor/autoload.php'); +require_once('../../../apikey.php'); + +$token = new \Tmdb\ApiToken(TMDB_API_KEY); +$client = new \Tmdb\Client($token); + +$repository = new \Tmdb\Repository\CompanyRepository($client); +$company = $repository->load(28); + +var_dump($company); \ No newline at end of file