/** * Sets the object size. The size must include the 24 byte header. * * @param integer $size The object size. */ public final function setSize($size) { if ($this->_parent !== null) { $this->_parent->setSize(($this->_parent->getSize() > 0 ? $this->_parent->getSize() : 0) + $size - ($this->_size > 0 ? $this->_size : 0)); } $this->_size = $size; }