Amfphp_Core_Amf_Deserializer::readReference PHP Method

readReference() protected method

readReference replaces the old readFlushedSO. It treats where there are references to other objects. Currently it does not resolve the object as this would involve a serious amount of overhead, unless you have a genius idea
protected readReference ( ) : String
return String
    protected function readReference()
    {
        $reference = $this->readInt();
        return $this->amf0storedObjects[$reference];
    }

Usage Example

コード例 #1
0
 /**
  * read reference
  * @return stdClass
  */
 public function readReference()
 {
     return parent::readReference();
 }