original_string: protected function getListParentDataFromMemory($subContext, $context = null)
      {
          $memory = $this->getListMemory();
  
          $oldContext    = $memory->getContext();
          $oldSubContext = $memory->getSubContext();
  
          if (null !== $context) {
              $memory->setContext($context);
          }
  
          $memory->setSubContext($subContext);
  
          $listParent = $memory->getListParent();
  
          if (null !== $context) {
              $memory->setContext($oldContext);
          }
  
          $memory->setSubContext($oldSubContext);
  
          return $listParent;
      }
code: protected function getListParentDataFromMemory($subContext, $context = null)
      {
          $memory = $this->getListMemory();
  
          $oldContext    = $memory->getContext();
          $oldSubContext = $memory->getSubContext();
  
          if (null !== $context) {
              $memory->setContext($context);
          }
  
          $memory->setSubContext($subContext);
  
          $listParent = $memory->getListParent();
  
          if (null !== $context) {
              $memory->setContext($oldContext);
          }
  
          $memory->setSubContext($oldSubContext);
  
          return $listParent;
      }
code_tokens: protected function getListParentDataFromMemory ( $ subContext , $ context = null ) { $ memory = $ this -> getListMemory ( ) ; $ oldContext = $ memory -> getContext ( ) ; $ oldSubContext = $ memory -> getSubContext ( ) ; if ( null !== $ context ) { $ memory -> setContext ( $ context ) ; } $ memory -> setSubContext ( $ subContext ) ; $ listParent = $ memory -> getListParent ( ) ; if ( null !== $ context ) { $ memory -> setContext ( $ oldContext ) ; } $ memory -> setSubContext ( $ oldSubContext ) ; return $ listParent ; }
docstring: Retrieves list parent data from memory and resets memory context.
  
  @param string|null $subContext
  @param string|null $context
  @return array|false|null
docstring_tokens: Retrieves list parent data from memory and resets memory context .