ArgumentNode.php
2 months ago
BooleanValueNode.php
2 months ago
DefinitionNode.php
2 months ago
DirectiveDefinitionNode.php
2 months ago
DirectiveNode.php
2 months ago
DocumentNode.php
2 months ago
EnumTypeDefinitionNode.php
2 months ago
EnumTypeExtensionNode.php
2 months ago
EnumValueDefinitionNode.php
2 months ago
EnumValueNode.php
2 months ago
ExecutableDefinitionNode.php
2 months ago
FieldDefinitionNode.php
2 months ago
FieldNode.php
2 months ago
FloatValueNode.php
2 months ago
FragmentDefinitionNode.php
2 months ago
FragmentSpreadNode.php
2 months ago
HasSelectionSet.php
2 months ago
InlineFragmentNode.php
2 months ago
InputObjectTypeDefinitionNode.php
2 months ago
InputObjectTypeExtensionNode.php
2 months ago
InputValueDefinitionNode.php
2 months ago
IntValueNode.php
2 months ago
InterfaceTypeDefinitionNode.php
2 months ago
InterfaceTypeExtensionNode.php
2 months ago
ListTypeNode.php
2 months ago
ListValueNode.php
2 months ago
Location.php
2 months ago
NameNode.php
2 months ago
NamedTypeNode.php
2 months ago
Node.php
2 months ago
NodeKind.php
2 months ago
NodeList.php
2 months ago
NonNullTypeNode.php
2 months ago
NullValueNode.php
2 months ago
ObjectFieldNode.php
2 months ago
ObjectTypeDefinitionNode.php
2 months ago
ObjectTypeExtensionNode.php
2 months ago
ObjectValueNode.php
2 months ago
OperationDefinitionNode.php
2 months ago
OperationTypeDefinitionNode.php
2 months ago
ScalarTypeDefinitionNode.php
2 months ago
ScalarTypeExtensionNode.php
2 months ago
SchemaDefinitionNode.php
2 months ago
SchemaExtensionNode.php
2 months ago
SelectionNode.php
2 months ago
SelectionSetNode.php
2 months ago
StringValueNode.php
2 months ago
TypeDefinitionNode.php
2 months ago
TypeExtensionNode.php
2 months ago
TypeNode.php
2 months ago
TypeSystemDefinitionNode.php
2 months ago
TypeSystemExtensionNode.php
2 months ago
UnionTypeDefinitionNode.php
2 months ago
UnionTypeExtensionNode.php
2 months ago
ValueNode.php
2 months ago
VariableDefinitionNode.php
2 months ago
VariableNode.php
2 months ago
InlineFragmentNode.php
22 lines
| 1 | <?php declare(strict_types=1); |
| 2 | |
| 3 | namespace Automattic\WooCommerce\Vendor\GraphQL\Language\AST; |
| 4 | |
| 5 | class InlineFragmentNode extends Node implements SelectionNode |
| 6 | { |
| 7 | public string $kind = NodeKind::INLINE_FRAGMENT; |
| 8 | |
| 9 | public ?NamedTypeNode $typeCondition = null; |
| 10 | |
| 11 | /** @var NodeList<DirectiveNode> */ |
| 12 | public NodeList $directives; |
| 13 | |
| 14 | public SelectionSetNode $selectionSet; |
| 15 | |
| 16 | public function __construct(array $vars) |
| 17 | { |
| 18 | parent::__construct($vars); |
| 19 | $this->directives ??= new NodeList([]); |
| 20 | } |
| 21 | } |
| 22 |