GenericEloquentCollectionTypeNodeResolverExtension
class GenericEloquentCollectionTypeNodeResolverExtension implements TypeNodeResolverExtension
Methods
__construct(TypeNodeResolver $typeNodeResolver)
Create the generic Eloquent collection type node resolver.
Type|null
resolve(TypeNode $typeNode, NameScope $nameScope)
Resolve a two-member union of the Eloquent collection and an array of models.
Details
at line 42
__construct(TypeNodeResolver $typeNodeResolver)
Create the generic Eloquent collection type node resolver.
at line 49
Type|null
resolve(TypeNode $typeNode, NameScope $nameScope)
Resolve a two-member union of the Eloquent collection and an array of models.