src/CoreBundle/EventListener/DcGeneral/DefinitionBuilder/MetaModelDefinitionBuilder.php
private function createOrGetDefinition(IMetaModelDataDefinition $container)
    {
        if ($container->hasMetaModelDefinition()) {
            return $container->getMetaModelDefinition();
        }

        $container->setMetaModelDefinition($definition = new MetaModelDefinition());

        return $definition;
    }
private function createOrGetDefinition(IMetaModelDataDefinition $container)
    {
        if ($container->hasMetaModelDefinition()) {
            return $container->getMetaModelDefinition();
        }

        $container->setMetaModelDefinition($definition = new MetaModelDefinition());

        return $definition;
    }
private function createOrGetDefinition ( IMetaModelDataDefinition $ container ) { if ( $ container -> hasMetaModelDefinition ( ) ) { return $ container -> getMetaModelDefinition ( ) ; } $ container -> setMetaModelDefinition ( $ definition = new MetaModelDefinition ( ) ) ; return $ definition ; }
Create or get the MetaModel definition.

@param IMetaModelDataDefinition $container The container being built.

@return IMetaModelDefinition
Create or get the MetaModel definition .