private function parseText($text) { if (is_string($text)) { return $this->variables->parse($text); } return $text; }