Beispiel #1
0
 public function methodMarker(ParsedType $type, ParsedMethod $method, $name)
 {
     $id = md5(sprintf('%s|%s|%s', $this->id, strtolower($type->getName()), strtolower($method->getName())));
     $this->buffer[$this->count] .= sprintf(' <%s>%s</%s> ', $id, $name, $id);
 }
Beispiel #2
0
 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;
 }