Scientist\Result::getValue PHP 메소드

getValue() 공개 메소드

Get the callback result value.
public getValue ( ) : mixed
리턴 mixed
    public function getValue()
    {
        return $this->value;
    }

Usage Example

예제 #1
0
 /**
  * Determine whether trial results match the control.
  *
  * @param \Scientist\Matchers\Matcher $matcher
  * @param \Scientist\Result           $control
  * @param \Scientist\Result[]         $trials
  */
 protected function determineMatches(Matcher $matcher, Result $control, array $trials = [])
 {
     foreach ($trials as $trial) {
         if ($matcher->match($control->getValue(), $trial->getValue())) {
             $trial->setMatch(true);
         }
     }
 }
All Usage Examples Of Scientist\Result::getValue