Example #1
0
 public function __construct(Account $account = null, $batchSize = 10, $batch = [])
 {
     parent::__construct($account);
     $this->account = $account;
     $this->batchSize = $batchSize;
     $this->batch = $this->assureBatchSize($batch);
 }
Example #2
0
 public function __construct(TwitterAds $twitterAds)
 {
     parent::__construct();
     $this->twitterAds = $twitterAds;
 }
 /**
  * TailoredAudience constructor.
  * @param Account|null $account
  * @param null $id
  */
 public function __construct(Account $account = null, $id = null)
 {
     parent::__construct($account);
     $this->id = $id;
 }