original_string: private function setNotFound()
      {
          $this->config['controller_name'] = class_exists('\App\Controller\ErrorController') ? '\App\Controller\ErrorController' : '\Bone\Mvc\Controller';
          $this->config['action_name'] = 'notFoundAction';
          $this->config['controller'] = 'error';
          $this->config['action'] = 'not-found';
          $this->controller = new $this->config['controller_name']($this->request);
          $this->controller->setServerEnvironment($this->getEnv());
          $this->response = $this->response->withStatus(404);
      }
code: private function setNotFound()
      {
          $this->config['controller_name'] = class_exists('\App\Controller\ErrorController') ? '\App\Controller\ErrorController' : '\Bone\Mvc\Controller';
          $this->config['action_name'] = 'notFoundAction';
          $this->config['controller'] = 'error';
          $this->config['action'] = 'not-found';
          $this->controller = new $this->config['controller_name']($this->request);
          $this->controller->setServerEnvironment($this->getEnv());
          $this->response = $this->response->withStatus(404);
      }
code_tokens: private function setNotFound ( ) { $ this -> config [ 'controller_name' ] = class_exists ( '\App\Controller\ErrorController' ) ? '\App\Controller\ErrorController' : '\Bone\Mvc\Controller' ; $ this -> config [ 'action_name' ] = 'notFoundAction' ; $ this -> config [ 'controller' ] = 'error' ; $ this -> config [ 'action' ] = 'not-found' ; $ this -> controller = new $ this -> config [ 'controller_name' ] ( $ this -> request ) ; $ this -> controller -> setServerEnvironment ( $ this -> getEnv ( ) ) ; $ this -> response = $ this -> response -> withStatus ( 404 ) ; }
docstring: Sets controller to error and action to not found
  @return void
docstring_tokens: Sets controller to error and action to not found