public function resolveFilterFactory($resource, array $parameters = [], $version = null)
    {
        try {
            return $this->resolve('filterFactory', $resource, $parameters, $version);
        } catch (ResourceNotDefinedException $e) {
            return $this->app->make(ArrayFilterFactory::class, $parameters);
        }
    }
public function resolveFilterFactory($resource, array $parameters = [], $version = null)
    {
        try {
            return $this->resolve('filterFactory', $resource, $parameters, $version);
        } catch (ResourceNotDefinedException $e) {
            return $this->app->make(ArrayFilterFactory::class, $parameters);
        }
    }
public function resolveFilterFactory ( $ resource , array $ parameters = [ ] , $ version = null ) { try { return $ this -> resolve ( 'filterFactory' , $ resource , $ parameters , $ version ) ; } catch ( ResourceNotDefinedException $ e ) { return $ this -> app -> make ( ArrayFilterFactory :: class , $ parameters ) ; } }
resolves a filter factory

@param string $resource
@param array $parameters
@param null|string $version
@return \Ipunkt\LaravelJsonApi\Contracts\FilterFactories\FilterFactory
resolves a filter factory