protected function setView()
  {
    if (is_file($this->getRootPath() . 'view/' . $this->getMethod() . '/view.php')) {
      $this->view = new View($this->getRootPath() . 'view/' . $this->getMethod() . '/view.php');
    } else if (is_file($this->getRootPath() . 'view/GET/view.php')) {
      $this->view = new View($this->getRootPath() . 'view/GET/view.php');
    } else if (is_file($this->getRootPath() . 'view/view.php')) {
      $this->view = new View($this->getRootPath() . 'view/view.php');
    } else if (is_file($this->getRootPath() . 'view.php')) {
      $this->view = new View($this->getRootPath() . 'view.php');
    } else if (is_file($this->getRootPath() . 'index.php')) {
      $this->view = new View($this->getRootPath() . 'index.php');
    } else {
      throw new \Exception('Vue introuvable pour la page ' . $this->code);
    }
  }