code: public function persistLastCatItemOutput(array $lastCatItemOutput)
      {
          $sessionId = $this->getTestSession()->getSessionId();
  
          $this->getServiceManager()->get(ExtendedStateService::SERVICE_ID)->setCatValue(
              $sessionId,
              $this->getCatSection()->getSectionId(),
              'cat-item-output',
              json_encode($lastCatItemOutput)
          );
      }
docs: Persist CAT Item Output.
  
  Persist the last CAT Item Result in memory.