protected function parseConfinementBlock($typoScriptLine, $isOpeningConfinement)
{
if ($isOpeningConfinement) {
$result = trim(trim(trim($typoScriptLine), '{'));
array_push($this->currentObjectPathStack, $this->getCurrentObjectPathPrefix() . $result);
} else {
if (count($this->currentObjectPathStack) < 1) {
throw new Fusion\Exception('Unexpected closing confinement without matching opening confinement. Check the number of your curly braces.', 1181575973);
}
array_pop($this->currentObjectPathStack);
}
}