code: public function addServiceDefinition(ServiceDefinition $definition) : Builder
      {
          $this->definition->addServiceDefinition($definition);
  
          foreach ($definition->getChildren() as $child) {
              $this->addServiceDefinition($child);
          }
  
          return $this;
      }
docs: @param ServiceDefinition $definition
  
  @return Builder