src/POData/Writers/Metadata/MetadataManager.php
/**
     * Gets reference to MetadataManager instance.
     * 
     * @param ProvidersWrapper $provider Reference to the
     * service metadata and query provider wrapper
     * 
     * @return MetadataManager
     * 
     * @throws InvalidOperationException
     * @throws ODataException
     */
Gets reference to MetadataManager instance.

@param ProvidersWrapper $provider Reference to the
service metadata and query provider wrapper




Gets reference to MetadataManager instance . @param ProvidersWrapper $provider Reference to the service metadata and query provider wrapper
public static function create(ProvidersWrapper $provider)
    {
        if (is_null(self::$_metadataManager)) {
            self::$_metadataManager = new MetadataManager($provider);
            self::$_metadataManager->_metadataResourceTypeSet = new MetadataResourceTypeSet($provider);
            self::$_metadataManager->_metadataAssociationTypeSet = new MetadataAssociationTypeSet($provider);
        }
        return  self::$_metadataManager;
    }
public static function create ( ProvidersWrapper $ provider ) { if ( is_null ( self :: $ _metadataManager ) ) { self :: $ _metadataManager = new MetadataManager ( $ provider ) ; self :: $ _metadataManager -> _metadataResourceTypeSet = new MetadataResourceTypeSet ( $ provider ) ; self :: $ _metadataManager -> _metadataAssociationTypeSet = new MetadataAssociationTypeSet ( $ provider ) ; } return self :: $ _metadataManager ; }
Gets reference to MetadataManager instance.
Gets reference to MetadataManager instance .