src/Execution/QueryFilter.php
public static function getInstance(FieldValue $value): self
    {
        $handler = 'query.filter'
            .'.'.strtolower($value->getParentName())
            .'.'.strtolower($value->getFieldName());

        // Get an existing instance or register a new one
        return app()->bound($handler)
            ? app($handler)
            : app()->instance($handler, app(static::class));
    }
public static function getInstance(FieldValue $value): self
    {
        $handler = 'query.filter'
            .'.'.strtolower($value->getParentName())
            .'.'.strtolower($value->getFieldName());

        // Get an existing instance or register a new one
        return app()->bound($handler)
            ? app($handler)
            : app()->instance($handler, app(static::class));
    }
public static function getInstance ( FieldValue $ value ) : self { $ handler = 'query.filter' . '.' . strtolower ( $ value -> getParentName ( ) ) . '.' . strtolower ( $ value -> getFieldName ( ) ) ; // Get an existing instance or register a new one return app ( ) -> bound ( $ handler ) ? app ( $ handler ) : app ( ) -> instance ( $ handler , app ( static :: class ) ) ; }
Get the single instance of the query filter for a field.

@param  \Nuwave\Lighthouse\Schema\Values\FieldValue  $value
@return static
Get the single instance of the query filter for a field .