protected function setDefaultRelations($service, $resource, &$params)
    {
        $api = $service . '/' . $resource;
        $relations = array_get($this->defaultRelation, $api);
        if (!empty($relations)) {
            $this->fixDefaultRelations($relations);
            if (!isset($params['related'])) {
                $params['related'] = implode(',', $relations);
            } else {
                foreach ($relations as $relation) {
                    if (strpos($params['related'], $relation) === false) {
                        $params['related'] .= ',' . $relation;
                    }
                }
            }
        }
    }