Documentation

NoFragmentCycles extends ValidationRule
in package

Table of Contents

$spreadPath  : array<string|int, FragmentSpreadNode>
$spreadPathIndexByName  : array<string|int, int|null>
$visitedFrags  : array<string|int, bool>
$name  : string
__invoke()  : mixed
cycleErrorMessage()  : mixed
getName()  : mixed
getSDLVisitor()  : array<string|int, mixed>
Returns structure suitable for GraphQL\Language\Visitor
getVisitor()  : array<string|int, mixed>
Returns structure suitable for GraphQL\Language\Visitor
detectCycleRecursive()  : mixed

Properties

$spreadPathIndexByName

public array<string|int, int|null> $spreadPathIndexByName

Methods

cycleErrorMessage()

public static cycleErrorMessage(mixed $fragName[, array<string|int, string> $spreadNames = [] ]) : mixed
Parameters
$fragName : mixed
$spreadNames : array<string|int, string> = []
Return values
mixed

Search results