Example #1
0
 protected function readClass()
 {
     $classname = ClassManager::getClass($this->privateReadStringWithoutTag());
     $count = (int) $this->stream->readuntil(Tags::TagOpenbrace);
     $props = new SplFixedArray($count);
     for ($i = 0; $i < $count; ++$i) {
         $props[$i] = $this->privateReadString();
     }
     $this->stream->skip(1);
     $this->classref[] = array($classname, $props);
 }