jerowork /
graphql-attribute-schema
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | namespace Jerowork\GraphqlAttributeSchema\NodeParser; |
||
| 6 | |||
| 7 | use Generator; |
||
| 8 | use Jerowork\GraphqlAttributeSchema\Node\Node; |
||
| 9 | use ReflectionClass; |
||
| 10 | use ReflectionMethod; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @internal |
||
| 14 | */ |
||
| 15 | interface NodeParser |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * @param class-string $attribute |
||
|
0 ignored issues
–
show
Documentation
Bug
introduced
by
Loading history...
|
|||
| 19 | * |
||
| 20 | * @throws ParseException |
||
| 21 | * |
||
| 22 | * @return Generator<Node> |
||
| 23 | */ |
||
| 24 | public function parse(string $attribute, ReflectionClass $class, ?ReflectionMethod $method): Generator; |
||
| 25 | } |
||
| 26 |