public static function getConfig($id, $local_config = null, $protect = true)
    {
        $config = parent::getConfig($id, $local_config, $protect);

        /** @var EmailServiceParameterConfig $params */
        $params = EmailServiceParameterConfig::whereServiceId($id)->get();
        $config['parameters'] = $params->toArray();

        return $config;
    }
public static function getConfig($id, $local_config = null, $protect = true)
    {
        $config = parent::getConfig($id, $local_config, $protect);

        /** @var EmailServiceParameterConfig $params */
        $params = EmailServiceParameterConfig::whereServiceId($id)->get();
        $config['parameters'] = $params->toArray();

        return $config;
    }
{@inheritdoc}