public function storeMethod(ParsedMethod $method, ParsedType $type) { $n = strtolower($type->getName()); if (empty($this->methods[$n])) { $this->methods[$n] = []; } $this->methods[$n][strtolower($method->getName())] = $method; }
public function __construct(TypeInfoInterface $type, ParsedMethod $method) { $this->key = $type->getKey() . ':method:' . strtolower($method->getName()); $this->type = $type; $this->method = $method; }