original_string: protected function setService($serviceName)
      {
          if (empty($serviceName)) {
              throw new InternalServerErrorException('No target service name provided for CSV import.');
          }
          $this->service = ServiceManager::getService($serviceName);
          $this->serviceGroupType = $this->service->getServiceTypeInfo()->getGroup();
      }
code: protected function setService($serviceName)
      {
          if (empty($serviceName)) {
              throw new InternalServerErrorException('No target service name provided for CSV import.');
          }
          $this->service = ServiceManager::getService($serviceName);
          $this->serviceGroupType = $this->service->getServiceTypeInfo()->getGroup();
      }
code_tokens: protected function setService ( $ serviceName ) { if ( empty ( $ serviceName ) ) { throw new InternalServerErrorException ( 'No target service name provided for CSV import.' ) ; } $ this -> service = ServiceManager :: getService ( $ serviceName ) ; $ this -> serviceGroupType = $ this -> service -> getServiceTypeInfo ( ) -> getGroup ( ) ; }
docstring: Sets the target service
  
  @param $serviceName
  
  @throws \DreamFactory\Core\Exceptions\InternalServerErrorException
docstring_tokens: Sets the target service