/** * @throws \Exception */ private function postProcess() { foreach ($this->config->PostProcessors as $processor) { if (Classes::validateProcessor($processor)) { $process = Factory::build($processor); $process->process($this); } else { throw new \Exception('Mongular: Attempt to access invalid processor ' . $this->request); } } }