protected function normalizeQueryAttributes(array $attributes)
    {
        $result = [];

        foreach ($attributes as $attribute) {
            $result[] = $this->convertAttribute($attribute);
        }

        return $result;
    }
protected function normalizeQueryAttributes(array $attributes)
    {
        $result = [];

        foreach ($attributes as $attribute) {
            $result[] = $this->convertAttribute($attribute);
        }

        return $result;
    }
protected function normalizeQueryAttributes ( array $ attributes ) { $ result = [ ] ; foreach ( $ attributes as $ attribute ) { $ result [ ] = $ this -> convertAttribute ( $ attribute ) ; } return $ result ; }
Be sure that all attributes sent to DB layer are strings.

@param  array $attributes
@return array
Be sure that all attributes sent to DB layer are strings .