/**
  * @param Imp $imp
  * @return $this
  */
 public function addImp(Imp $imp = null)
 {
     if (is_null($imp)) {
         $imp = new Imp();
     }
     $this->imp->add($imp);
     return $this;
 }
Exemple #2
0
 /**
  * @param Segment $segment
  * @return $this
  */
 public function addSegment(Segment $segment = null)
 {
     if (is_null($segment)) {
         $segment = new Segment();
     }
     $this->segment->add($segment);
     return $this;
 }
Exemple #3
0
 /**
  * @param Data $data
  * @return $this
  */
 public function addData(Data $data = null)
 {
     if (is_null($data)) {
         $data = new Data();
     }
     $this->data->add($data);
     return $this;
 }
Exemple #4
0
 /**
  * @param Banner $companionad
  * @return $this
  */
 public function addCompanionad(Banner $companionad)
 {
     $this->companionad->add($companionad);
     return $this;
 }
Exemple #5
0
 /**
  * @param Assets $assets
  * @return $this
  */
 public function addAssets(Assets $assets)
 {
     $this->assets->add($assets);
     return $this;
 }
Exemple #6
0
 /**
  * @param Deal $deals
  * @return $this
  */
 public function addDeals(Deal $deals)
 {
     $this->deals->add($deals);
     return $this;
 }
 public function testCanVerifyExistingKeysWithNullValues()
 {
     $this->collection->set('key', null);
     $this->assertTrue($this->collection->containsKey('key'));
 }
 /**
  * @param Seatbid $seatbid
  * @return $this
  */
 public function addSeatbid(Seatbid $seatbid)
 {
     $this->seatbid->add($seatbid);
     return $this;
 }