original_string: protected function applyFilterStrategyToQuery($query, $target, $value, $strategy = null)
      {
          if (null === $strategy) {
              $strategy = config('cms-models.meta-references.filter-strategy');
          }
  
          $filter = $this->getFilterFactory()->make($strategy);
  
          $filter->apply($query, $target, $value);
      }
code: protected function applyFilterStrategyToQuery($query, $target, $value, $strategy = null)
      {
          if (null === $strategy) {
              $strategy = config('cms-models.meta-references.filter-strategy');
          }
  
          $filter = $this->getFilterFactory()->make($strategy);
  
          $filter->apply($query, $target, $value);
      }
code_tokens: protected function applyFilterStrategyToQuery ( $ query , $ target , $ value , $ strategy = null ) { if ( null === $ strategy ) { $ strategy = config ( 'cms-models.meta-references.filter-strategy' ) ; } $ filter = $ this -> getFilterFactory ( ) -> make ( $ strategy ) ; $ filter -> apply ( $ query , $ target , $ value ) ; }
docstring: Applies a filter strategy for 'searching' on the model query.
  
  @param Builder     $query
  @param string      $target
  @param string      $value
  @param string|null $strategy     the filter strategy to use, if not default
docstring_tokens: Applies a filter strategy for searching on the model query .