Issues (158)

src/NodeParser/NodeParser.php (1 issue)

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
The doc comment class-string at position 0 could not be parsed: Unknown type name 'class-string' at position 0 in class-string.
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