Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 public function __construct(TypeInfoInterface $type, ParsedMethod $method)
 {
     $this->key = $type->getKey() . ':method:' . strtolower($method->getName());
     $this->type = $type;
     $this->method = $method;
 }