public function typeMarkerBeforeDocComment(ParsedType $type, $name) { if ($this->count > 1) { $id = md5($this->id . '|' . strtolower($type->getName())); $this->buffer[$this->count - 2] .= sprintf(' <%s>%s</%s> ', $id, $name, $id); return true; } return false; }
public function populateMethodMarker(ParsedType $type, ParsedMethod $method, $marker, $value) { $id = md5(sprintf('%s|%s|%s', $this->id, strtolower($type->getName()), strtolower($method->getName()))); $this->placeholder[sprintf('<%s>%s</%s>', $id, $marker, $id)] = (string) $value; }