protected function applyForSingleTarget($query, array $targetParts, $value, $isFirst = false)
    {
        $this->translated = $this->isTranslatedTargetAttribute($targetParts, $query->getModel());

        $this->applyRecursive($query, $targetParts, $value, $isFirst);
    }
protected function applyForSingleTarget($query, array $targetParts, $value, $isFirst = false)
    {
        $this->translated = $this->isTranslatedTargetAttribute($targetParts, $query->getModel());

        $this->applyRecursive($query, $targetParts, $value, $isFirst);
    }
protected function applyForSingleTarget ( $ query , array $ targetParts , $ value , $ isFirst = false ) { $ this -> translated = $ this -> isTranslatedTargetAttribute ( $ targetParts , $ query -> getModel ( ) ) ; $ this -> applyRecursive ( $ query , $ targetParts , $ value , $ isFirst ) ; }
Applies the filter for a single part of multiple targets

@param Builder $query
@param array   $targetParts
@param mixed   $value
@param bool    $isFirst      whether this is the first expression (between brackets)
Applies the filter for a single part of multiple targets