lib/Doctrine/DBAL/Schema/Schema.php
public function createNamespace($namespaceName)
    {
        $unquotedNamespaceName = strtolower($this->getUnquotedAssetName($namespaceName));

        if (isset($this->namespaces[$unquotedNamespaceName])) {
            throw SchemaException::namespaceAlreadyExists($unquotedNamespaceName);
        }

        $this->namespaces[$unquotedNamespaceName] = $namespaceName;

        return $this;
    }
public function createNamespace($namespaceName)
    {
        $unquotedNamespaceName = strtolower($this->getUnquotedAssetName($namespaceName));

        if (isset($this->namespaces[$unquotedNamespaceName])) {
            throw SchemaException::namespaceAlreadyExists($unquotedNamespaceName);
        }

        $this->namespaces[$unquotedNamespaceName] = $namespaceName;

        return $this;
    }
public function createNamespace ( $ namespaceName ) { $ unquotedNamespaceName = strtolower ( $ this -> getUnquotedAssetName ( $ namespaceName ) ) ; if ( isset ( $ this -> namespaces [ $ unquotedNamespaceName ] ) ) { throw SchemaException :: namespaceAlreadyExists ( $ unquotedNamespaceName ) ; } $ this -> namespaces [ $ unquotedNamespaceName ] = $ namespaceName ; return $ this ; }
Creates a new namespace.

@param string $namespaceName The name of the namespace to create.

@return \Doctrine\DBAL\Schema\Schema This schema instance.

@throws SchemaException
Creates a new namespace .