protected function compileExtends($expression) { if (starts_with($expression, '(')) { $expression = substr($expression, 1, -1); } $data = "<?php echo \$this->loadAnyTemplate({$expression}); ?>"; $this->footer[] = $data; return ''; }