original_string: private function getDefinitionForServiceId($serviceId, ServiceConfig $serviceConfig)
      {
  
          if ($serviceConfig->has(ServiceConfig::LAZY) && !$serviceConfig->get(ServiceConfig::LAZY)) {
              return new Reference($serviceId);
          } else {
              return new Definition($this->invokeClass, array(new Reference('service_container'), $serviceId));
          }
      }
code: private function getDefinitionForServiceId($serviceId, ServiceConfig $serviceConfig)
      {
  
          if ($serviceConfig->has(ServiceConfig::LAZY) && !$serviceConfig->get(ServiceConfig::LAZY)) {
              return new Reference($serviceId);
          } else {
              return new Definition($this->invokeClass, array(new Reference('service_container'), $serviceId));
          }
      }
code_tokens: private function getDefinitionForServiceId ( $ serviceId , ServiceConfig $ serviceConfig ) { if ( $ serviceConfig -> has ( ServiceConfig :: LAZY ) && ! $ serviceConfig -> get ( ServiceConfig :: LAZY ) ) { return new Reference ( $ serviceId ) ; } else { return new Definition ( $ this -> invokeClass , array ( new Reference ( 'service_container' ) , $ serviceId ) ) ; } }
docstring: return a InvokeClass for lazyLoading or a reference of the service
  
  @param string        $serviceId
  @param ServiceConfig $serviceConfig
  
  @return object|Definition
docstring_tokens: return a InvokeClass for lazyLoading or a reference of the service