code: protected function setView(string $ctrlName, string $actionName): void
      {
          $this->view = ViewFactory::createView($actionName, $ctrlName);
          if (!is_null($this->layout)) {
              $this->layout->view = $this->view;
          }
      }
docs: It's used for binding the controller with a view (both with the default
  and with corresponding another controller).
  @param string $ctrlName The controller name.
  @param string $actionName The action name (without prefix action).
  @return void.