original_string: protected function _hashParts(Controller $controller)
      {
          $request = $controller->getRequest();
  
          // Start the session to ensure we get the correct session id.
          $session = $request->getSession();
          $session->start();
  
          $data = $request->getData();
          $fieldList = $this->_fieldsList($data);
          $unlocked = $this->_sortedUnlocked($data);
  
          return [
              Router::url($request->getRequestTarget()),
              serialize($fieldList),
              $unlocked,
              $session->id()
          ];
      }
code: protected function _hashParts(Controller $controller)
      {
          $request = $controller->getRequest();
  
          // Start the session to ensure we get the correct session id.
          $session = $request->getSession();
          $session->start();
  
          $data = $request->getData();
          $fieldList = $this->_fieldsList($data);
          $unlocked = $this->_sortedUnlocked($data);
  
          return [
              Router::url($request->getRequestTarget()),
              serialize($fieldList),
              $unlocked,
              $session->id()
          ];
      }
code_tokens: protected function _hashParts ( Controller $ controller ) { $ request = $ controller -> getRequest ( ) ; // Start the session to ensure we get the correct session id. $ session = $ request -> getSession ( ) ; $ session -> start ( ) ; $ data = $ request -> getData ( ) ; $ fieldList = $ this -> _fieldsList ( $ data ) ; $ unlocked = $ this -> _sortedUnlocked ( $ data ) ; return [ Router :: url ( $ request -> getRequestTarget ( ) ) , serialize ( $ fieldList ) , $ unlocked , $ session -> id ( ) ] ; }
docstring: Return hash parts for the Token generation
  
  @param \Cake\Controller\Controller $controller Instantiating controller
  @return array
docstring_tokens: Return hash parts for the Token generation