/** * Set the property description * * @param string $desc * @return \Pop\Code\Generator\PropertyGenerator */ public function setDesc($desc = null) { if (null !== $this->docblock) { $this->docblock->setDesc($desc); } else { $this->docblock = new DocblockGenerator($desc, $this->indent); } return $this; }