for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Digia\GraphQL\Validation\Rule;
use Digia\GraphQL\Language\AST\Node\NodeInterface;
use Digia\GraphQL\Language\AST\Visitor\VisitorInterface;
abstract class AbstractRule implements RuleInterface, VisitorInterface
{
use ContextAwareTrait;
/**
* @inheritdoc
*/
public function enterNode(NodeInterface $node): ?NodeInterface
return $node;
}
public function leaveNode(NodeInterface $node): ?NodeInterface