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