callback = $callback; return $this; } protected function process_file($file_override = false) { $file = $file_override ?: $this->file_name; try { $data = $this->get_data(); static::parser()->scopeGlue(\Config::get('parser.View_Lex.scope_glue', '.')); $result = static::parser()->parse(file_get_contents($file), $data, $this->callback, \Config::get('parser.View_Lex.allow_php', false)); } catch (\Exception $e) { // Delete the output buffer & re-throw the exception ob_end_clean(); throw $e; } $this->unsanitize($data); return $result; } }