original_string: public function postParseUnitAction($uniqueId, $success = true)
      {
          // Setting parsed message flag to SEEN
          $result = new ParseResult();
          try {
              if ($success) {
                  $this->storage->setFlags($uniqueId, array(ZendStorage::FLAG_SEEN));
              } else {
                  $this->storage->setFlags($uniqueId, array(ZendStorage::FLAG_RECENT));
              }
          } catch (\Exception $e) {
              $result->setResult(false);
              $result->setMessage($e->getMessage());
              $result->setCode($e->getCode());
          }
  
          // Returning the result object
          return $result;
      }
code: public function postParseUnitAction($uniqueId, $success = true)
      {
          // Setting parsed message flag to SEEN
          $result = new ParseResult();
          try {
              if ($success) {
                  $this->storage->setFlags($uniqueId, array(ZendStorage::FLAG_SEEN));
              } else {
                  $this->storage->setFlags($uniqueId, array(ZendStorage::FLAG_RECENT));
              }
          } catch (\Exception $e) {
              $result->setResult(false);
              $result->setMessage($e->getMessage());
              $result->setCode($e->getCode());
          }
  
          // Returning the result object
          return $result;
      }
code_tokens: public function postParseUnitAction ( $ uniqueId , $ success = true ) { // Setting parsed message flag to SEEN $ result = new ParseResult ( ) ; try { if ( $ success ) { $ this -> storage -> setFlags ( $ uniqueId , array ( ZendStorage :: FLAG_SEEN ) ) ; } else { $ this -> storage -> setFlags ( $ uniqueId , array ( ZendStorage :: FLAG_RECENT ) ) ; } } catch ( \ Exception $ e ) { $ result -> setResult ( false ) ; $ result -> setMessage ( $ e -> getMessage ( ) ) ; $ result -> setCode ( $ e -> getCode ( ) ) ; } // Returning the result object return $ result ; }
docstring: Action to be run after a single set of data retrieved from the remote source has been parsed.
  
  @param string $uniqueId Unique id of the single set to be treated (e.g. unique id of a message in a mail box)
  @param bool   $success  True if the data of a given resource have been downloaded and used correctly; false otherwise.
  
  @return \Msl\ResourceProxy\Source\Parse\ParseResult|void
docstring_tokens: Action to be run after a single set of data retrieved from the remote source has been parsed .