original_string: private function addAttributeToDefinition(ContainerInterface $container, $name)
      {
          if (!$container->hasDefinition('metamodels.file-attributes')) {
              $container->setDefinition('metamodels.file-attributes', new AttributeFileDefinition());
          }
  
          $container->getDefinition('metamodels.file-attributes')->add($name);
      }
code: private function addAttributeToDefinition(ContainerInterface $container, $name)
      {
          if (!$container->hasDefinition('metamodels.file-attributes')) {
              $container->setDefinition('metamodels.file-attributes', new AttributeFileDefinition());
          }
  
          $container->getDefinition('metamodels.file-attributes')->add($name);
      }
code_tokens: private function addAttributeToDefinition ( ContainerInterface $ container , $ name ) { if ( ! $ container -> hasDefinition ( 'metamodels.file-attributes' ) ) { $ container -> setDefinition ( 'metamodels.file-attributes' , new AttributeFileDefinition ( ) ) ; } $ container -> getDefinition ( 'metamodels.file-attributes' ) -> add ( $ name ) ; }
docstring: Add attribute to MetaModels file attributes definition.
  
  @param ContainerInterface $container The metamodel data definition.
  
  @param string             $name      The attribute name.
  
  @return void
docstring_tokens: Add attribute to MetaModels file attributes definition .