src/Support/Traits/HasResolverArguments.php
public function setResolverArguments($root, array $args, GraphQLContext $context, ResolveInfo $resolveInfo): self
    {
        return $this
            ->setRoot($root)
            ->setArgs($args)
            ->setContext($context)
            ->setResolveInfo($resolveInfo);
    }
public function setResolverArguments($root, array $args, GraphQLContext $context, ResolveInfo $resolveInfo): self
    {
        return $this
            ->setRoot($root)
            ->setArgs($args)
            ->setContext($context)
            ->setResolveInfo($resolveInfo);
    }
public function setResolverArguments ( $ root , array $ args , GraphQLContext $ context , ResolveInfo $ resolveInfo ) : self { return $ this -> setRoot ( $ root ) -> setArgs ( $ args ) -> setContext ( $ context ) -> setResolveInfo ( $ resolveInfo ) ; }
Set all resolver arguments at once.

@param  mixed|null  $root
@param  mixed[]  $args
@param  \Nuwave\Lighthouse\Support\Contracts\GraphQLContext  $context
@param  \GraphQL\Type\Definition\ResolveInfo  $resolveInfo
@return $this
Set all resolver arguments at once .