evaluate() public méthode

Render $type and return it.
public evaluate ( ) : mixed
Résultat 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;
     }
 }