lib/Psc/TPL/ContentStream/Converter.php
public function convertUnserialized(Array $serialized, ContentStream $contentStream = NULL) {
    if (isset($contentStream)) {
      foreach ($serialized as $serializedEntry) {
        $entry = $this->unserializeEntry((object) $serializedEntry);
        $entry->setContentStream($contentStream);
      }
      return $contentStream;
    } else {
      $unserialized = array();
      foreach ($serialized as $serializedEntry) {
        $unserialized[] = $this->unserializeEntry($serializedEntry);
      }
    }
    
    return $unserialized;
  }
public function convertUnserialized(Array $serialized, ContentStream $contentStream = NULL) {
    if (isset($contentStream)) {
      foreach ($serialized as $serializedEntry) {
        $entry = $this->unserializeEntry((object) $serializedEntry);
        $entry->setContentStream($contentStream);
      }
      return $contentStream;
    } else {
      $unserialized = array();
      foreach ($serialized as $serializedEntry) {
        $unserialized[] = $this->unserializeEntry($serializedEntry);
      }
    }
    
    return $unserialized;
  }
public function convertUnserialized ( Array $ serialized , ContentStream $ contentStream = NULL ) { if ( isset ( $ contentStream ) ) { foreach ( $ serialized as $ serializedEntry ) { $ entry = $ this -> unserializeEntry ( ( object ) $ serializedEntry ) ; $ entry -> setContentStream ( $ contentStream ) ; } return $ contentStream ; } else { $ unserialized = array ( ) ; foreach ( $ serialized as $ serializedEntry ) { $ unserialized [ ] = $ this -> unserializeEntry ( $ serializedEntry ) ; } } return $ unserialized ; }
Convertes an serialized ContentStream to the real object structure
Convertes an serialized ContentStream to the real object structure