protected function applyContextStrategyToQueryBuilder($query, $strategy, array $parameters = [])
    {
        $strategy = $this->resolveContextStrategy($strategy);

        if ( ! $strategy) return;

        $strategy->apply($query, $parameters);
    }
protected function applyContextStrategyToQueryBuilder($query, $strategy, array $parameters = [])
    {
        $strategy = $this->resolveContextStrategy($strategy);

        if ( ! $strategy) return;

        $strategy->apply($query, $parameters);
    }
protected function applyContextStrategyToQueryBuilder ( $ query , $ strategy , array $ parameters = [ ] ) { $ strategy = $ this -> resolveContextStrategy ( $ strategy ) ; if ( ! $ strategy ) return ; $ strategy -> apply ( $ query , $ parameters ) ; }
Applies a context strategy to a model query builder.

@param Builder     $query
@param string|null $strategy
@param array       $parameters
Applies a context strategy to a model query builder .