示例#1
0
 public function evaluate()
 {
     $values = parent::evaluate();
     foreach ($values as $key => $value) {
         $values[$key] = $this->type->setValue($value)->evaluate();
     }
     return $values;
 }
示例#2
0
 public function evaluate()
 {
     // Performs validation
     parent::evaluate();
     return $this->validated->asArray();
 }