/**
  * @Given age of people filter is specified
  */
 public function ageOfPeopleFilterIsSpecified()
 {
     $searchObject = $this->deferredSearch->withAgeOfPeople(AgeOfPeopleFilter::Adults_Only());
 }
Пример #2
0
 /**
  * @param $age
  * @return $this
  */
 public function withAgeOfPeople(AgeOfPeopleFilter $age)
 {
     $this->appendArrayValueToRequestDetails("age_of_people", $age->getValue());
     return $this;
 }