Exemplo n.º 1
0
 public function __construct(TypeInfoInterface $type, ParsedMethod $method)
 {
     $this->key = $type->getKey() . ':method:' . strtolower($method->getName());
     $this->type = $type;
     $this->method = $method;
 }
Exemplo n.º 2
0
 public function is(TypeInfoInterface $type)
 {
     return $this->key == $type->getKey();
 }
Exemplo n.º 3
0
 public function __construct(TypeInfoInterface $type, ParsedField $field)
 {
     $this->key = $type->getKey() . ':field:' . strtolower($field->getName());
     $this->type = $type;
     $this->field = $field;
 }