/** * @param IReflectionProperty $property * * @return string */ public function writeValue(IReflectionProperty $property) { $value = ''; if ($property->getDeclaringClass() && ($defaultProperties = $property->getDeclaringClass()->getDefaultProperties())) { if (!is_null($defaultProperties[$property->getName()])) { $value = ' = ' . $this->formatValue($defaultProperties[$property->getName()]); } } return $value; }
/** * @return int */ public function getEndLine() { return $this->reflection->getEndLine(); }
protected function getParser() { return new CommentParser($this->reflection->getDocComment()); }