/** * @throws \Exception */ private function Process() { if (Classes::validateController($this->parameters->request)) { $call = Factory::build($this->parameters->request); $return_values = $call->getValues(); if (count($return_values) > 0) { $this->return['mongular_content'] = $call->getValues(); } } else { throw new \Exception('Mongular: Attempt to access invalid controller ' . $this->request); } }