leave() публичный Метод

Has to be called in the same function calling enter() for every return path.
public leave ( array $evaluateContext ) : void
$evaluateContext array The current evaluation context
Результат void
Пример #1
0
 /**
  * Ends the evaluation of a typoscript path by popping the context stack if needed and leaving the cache context.
  *
  * @param array $cacheContext
  * @param boolean $needToPopContext
  * @return void
  */
 protected function finalizePathEvaluation($cacheContext, $needToPopContext = false)
 {
     if ($needToPopContext) {
         $this->popContext();
     }
     $this->runtimeContentCache->leave($cacheContext);
 }