/**
  * @param Client $client
  */
 public function __construct(Client $client)
 {
     parent::__construct($client);
     $this->comments = new TopicComments($client);
     $this->subscriptions = new TopicSubscriptions($client);
     $this->votes = new TopicVotes($client);
 }
Exemple #2
0
 /**
  * Check that URL-aware fopen wrappers are available
  * @param string $key User API key
  * @param bool $secureOnly Only allow API calls to be sent via a secure connection
  * @throws \MailChimp\Exception
  */
 public function __construct($key, $secureOnly = false)
 {
     if (!ini_get('allow_url_fopen')) {
         throw new \MailChimp\Exception('The stream client requires URL-aware fopen wrappers. See allow_url_fopen');
     }
     // Call the parent constructor
     parent::__construct($key, $secureOnly);
 }
 /**
  * @param Client $client
  */
 public function __construct(Client $client)
 {
     parent::__construct($client);
     $this->phoneNumbers = new VoicePhoneNumbers($client);
     $this->greetings = new VoiceGreetings($client);
     $this->stats = new VoiceStats($client);
     $this->agents = new VoiceAgents($client);
     $this->tickets = new VoiceTickets($client);
 }
Exemple #4
0
 /**
  * @param Client $client
  */
 public function __construct(Client $client)
 {
     parent::__construct($client);
     $this->audits = new TicketAudits($client);
     $this->comments = new TicketComments($client);
     $this->metrics = new TicketMetrics($client);
     $this->import = new TicketImport($client);
     $this->satisfactionRatings = new SatisfactionRatings($client);
 }
Exemple #5
0
 public function __construct(Client $client)
 {
     parent::__construct($client);
 }
 /**
  * @param Client $client
  */
 public function __construct(Client $client)
 {
     parent::__construct($client);
     $this->identities = new UserIdentities($client);
 }
 /**
  * @param Client $client
  */
 public function __construct(Client $client)
 {
     parent::__construct($client);
     $this->subscriptions = new ForumSubscriptions($client);
 }
 /**
  * @param Client $client
  */
 public function __construct(Client $client)
 {
     parent::__construct($client);
     $this->installations = new AppInstallations($client);
 }
Exemple #9
0
 public function __construct(Client $client)
 {
     parent::__construct($client);
     $this->fields = new UserFields($client);
 }
 /**
  * @param Client $client
  */
 public function __construct(Client $client)
 {
     parent::__construct($client);
     $this->comments = new RequestComments($client);
 }