/** * Build up the terminal object and return it * * @param string $name * @param array $arguments * * @return object|null */ protected function buildTerminalObject($name, $arguments) { // Retrieve the parser for the current set of styles $parser = $this->style->parser($this->util->system); // Reset the styles $this->style->reset(); // Execute the terminal object $this->router->settings($this->settings); $this->router->parser($parser); $this->router->output($this->output); $this->router->util($this->util); return $this->router->execute($name, $arguments); }