/**
  * @param IReflectionConstant $constant
  *
  * @return string
  */
 public function writeElement(IReflectionConstant $constant)
 {
     return $this->formatLine('+{static}' . $constant->getName() . ' = ' . $this->formatValue($constant->getValue()));
 }
Example #2
0
 protected function getParser()
 {
     return new CommentParser($this->reflection->getDocComment());
 }