예제 #1
0
 public function __construct(Client $client)
 {
     parent::__construct($client);
     $this->movieFactory = new MovieFactory();
     $this->collectionFactory = new CollectionFactory();
     $this->tvFactory = new TvFactory();
     $this->peopleFactory = new PeopleFactory();
     $this->listItemFactory = new ListItemFactory();
     $this->companyFactory = new CompanyFactory();
     $this->keywordFactory = new KeywordFactory();
 }
예제 #2
0
 public function __construct(Client $client)
 {
     parent::__construct($client);
     $this->imageFactory = new ImageFactory();
 }
 public function __construct(Client $client)
 {
     parent::__construct($client);
     $this->imageFactory = new ImageFactory($this->getClient()->getHttpClient());
 }