protected function setServiceId(array $config)
    {
        $config['service']   = empty($config['service_name'])
            ? $service_param = 'SID = ' . $config['database']
            : $service_param = 'SERVICE_NAME = ' . $config['service_name'];

        return $config;
    }
protected function setServiceId(array $config)
    {
        $config['service']   = empty($config['service_name'])
            ? $service_param = 'SID = ' . $config['database']
            : $service_param = 'SERVICE_NAME = ' . $config['service_name'];

        return $config;
    }
protected function setServiceId ( array $ config ) { $ config [ 'service' ] = empty ( $ config [ 'service_name' ] ) ? $ service_param = 'SID = ' . $ config [ 'database' ] : $ service_param = 'SERVICE_NAME = ' . $ config [ 'service_name' ] ; return $ config ; }
Set service id from config.

@param array $config
@return array
Set service id from config .