original_string: protected function _viewPath()
      {
          $viewPath = $this->name;
          if ($this->request->getParam('prefix')) {
              $prefixes = array_map(
                  'Cake\Utility\Inflector::camelize',
                  explode('/', $this->request->getParam('prefix'))
              );
              $viewPath = implode(DIRECTORY_SEPARATOR, $prefixes) . DIRECTORY_SEPARATOR . $viewPath;
          }
  
          return $viewPath;
      }
code: protected function _viewPath()
      {
          $viewPath = $this->name;
          if ($this->request->getParam('prefix')) {
              $prefixes = array_map(
                  'Cake\Utility\Inflector::camelize',
                  explode('/', $this->request->getParam('prefix'))
              );
              $viewPath = implode(DIRECTORY_SEPARATOR, $prefixes) . DIRECTORY_SEPARATOR . $viewPath;
          }
  
          return $viewPath;
      }
code_tokens: protected function _viewPath ( ) { $ viewPath = $ this -> name ; if ( $ this -> request -> getParam ( 'prefix' ) ) { $ prefixes = array_map ( 'Cake\Utility\Inflector::camelize' , explode ( '/' , $ this -> request -> getParam ( 'prefix' ) ) ) ; $ viewPath = implode ( DIRECTORY_SEPARATOR , $ prefixes ) . DIRECTORY_SEPARATOR . $ viewPath ; } return $ viewPath ; }
docstring: Get the viewPath based on controller name and request prefix.
  
  @return string
docstring_tokens: Get the viewPath based on controller name and request prefix .