public function getViewList($view) { if (isset($this->extensions[$view])) { return $this->extensions[$view]; } else { return [500 => $view]; } }