original_string: public function checkNavigator()
      {
          // can we find th' darned controller?
          if (!$this->checkControllerExists()) {
              $this->setNotFound();
              return;
          }
  
          // merge the feckin params
          if (array_key_exists('params', $this->config) && is_array($this->config['params']) ) {
              $merged = array_merge($this->config['params'], $this->request->getQueryParams());
              $this->request = $this->request->withQueryParams($merged);
          }
  
          // create the controller
          $this->controller = new $this->config['controller_name']($this->request);
          $this->controller->setServerEnvironment($this->getEnv());
  
          // where's the bloody action?
          if (!$this->checkActionExists()) {
              $this->setNotFound();
          }
          return null;
      }
code: public function checkNavigator()
      {
          // can we find th' darned controller?
          if (!$this->checkControllerExists()) {
              $this->setNotFound();
              return;
          }
  
          // merge the feckin params
          if (array_key_exists('params', $this->config) && is_array($this->config['params']) ) {
              $merged = array_merge($this->config['params'], $this->request->getQueryParams());
              $this->request = $this->request->withQueryParams($merged);
          }
  
          // create the controller
          $this->controller = new $this->config['controller_name']($this->request);
          $this->controller->setServerEnvironment($this->getEnv());
  
          // where's the bloody action?
          if (!$this->checkActionExists()) {
              $this->setNotFound();
          }
          return null;
      }
code_tokens: public function checkNavigator ( ) { // can we find th' darned controller? if ( ! $ this -> checkControllerExists ( ) ) { $ this -> setNotFound ( ) ; return ; } // merge the feckin params if ( array_key_exists ( 'params' , $ this -> config ) && is_array ( $ this -> config [ 'params' ] ) ) { $ merged = array_merge ( $ this -> config [ 'params' ] , $ this -> request -> getQueryParams ( ) ) ; $ this -> request = $ this -> request -> withQueryParams ( $ merged ) ; } // create the controller $ this -> controller = new $ this -> config [ 'controller_name' ] ( $ this -> request ) ; $ this -> controller -> setServerEnvironment ( $ this -> getEnv ( ) ) ; // where's the bloody action? if ( ! $ this -> checkActionExists ( ) ) { $ this -> setNotFound ( ) ; } return null ; }
docstring: Gaaarrr! Check the Navigator be readin' the map!
  @return null|void
docstring_tokens: Gaaarrr! Check the Navigator be readin the map!