FunctionName = $options->Fn; $this->Args = []; foreach($options->Ar as $arg) $this->Args[] = ParseFactory::GetParseElement($arg, $this); } public function Parse($type = null) { $args = []; foreach($this->Args as $arg) $args[] = $arg->Parse(); return $this->GetRetriever()->CallFunction($this->FunctionName, $args); } }