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);
    }
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);
    }
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 ) ; }
Add attribute to MetaModels file attributes definition.

@param ContainerInterface $container The metamodel data definition.

@param string             $name      The attribute name.

@return void
Add attribute to MetaModels file attributes definition .