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