Inheritance: extends EmptyListener, implements Eris\Listener
 protected function setUp()
 {
     $this->listener = MinimumEvaluations::ratio(0.5);
 }
示例#2
0
 /**
  * @param float  from 0.0 to 1.0
  * @return self
  */
 protected function minimumEvaluationRatio($ratio)
 {
     $this->filterOutListenersOfClass('Eris\\Listener\\MinimumEvaluations');
     $this->listeners[] = Listener\MinimumEvaluations::ratio($ratio);
     return $this;
 }