1 | <?php |
||
7 | abstract class AbstractRequest |
||
8 | { |
||
9 | /** |
||
10 | * @var string|null |
||
11 | */ |
||
12 | private $returnType; |
||
13 | |||
14 | /** |
||
15 | * @param mixed[] $attributes |
||
16 | */ |
||
17 | public function __construct(array $attributes = []) |
||
21 | |||
22 | /** |
||
23 | * Returns the GraphQL return type of the request (as a string). |
||
24 | * The string can represent the FQCN of the type or an entry in the container resolving to the GraphQL type. |
||
25 | * |
||
26 | * @return string|null |
||
27 | */ |
||
28 | public function getReturnType(): ?string |
||
32 | } |
||
33 |