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