/** * 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; } }