evaluate() public method

Render $type and return it.
public evaluate ( ) : mixed
return mixed
 /**
  * If $condition matches, render $type and return it. Else, return MATCH_NORESULT.
  *
  * @return mixed
  */
 public function evaluate()
 {
     if ($this->getCondition()) {
         return parent::evaluate();
     } else {
         return CaseImplementation::MATCH_NORESULT;
     }
 }