Neos.Fusion/Classes/Core/Parser.php
public function setObjectTypeNamespace($alias, $namespace)
    {
        if (!is_string($alias)) {
            throw new Fusion\Exception('The alias of a namespace must be valid string!', 1180600696);
        }
        if (!is_string($namespace)) {
            throw new Fusion\Exception('The namespace must be of type string!', 1180600697);
        }
        $this->objectTypeNamespaces[$alias] = $namespace;
    }
public function setObjectTypeNamespace($alias, $namespace)
    {
        if (!is_string($alias)) {
            throw new Fusion\Exception('The alias of a namespace must be valid string!', 1180600696);
        }
        if (!is_string($namespace)) {
            throw new Fusion\Exception('The namespace must be of type string!', 1180600697);
        }
        $this->objectTypeNamespaces[$alias] = $namespace;
    }
public function setObjectTypeNamespace ( $ alias , $ namespace ) { if ( ! is_string ( $ alias ) ) { throw new Fusion \ Exception ( 'The alias of a namespace must be valid string!' , 1180600696 ) ; } if ( ! is_string ( $ namespace ) ) { throw new Fusion \ Exception ( 'The namespace must be of type string!' , 1180600697 ) ; } $ this -> objectTypeNamespaces [ $ alias ] = $ namespace ; }
Sets the given alias to the specified namespace.

The namespaces defined through this setter or through a "namespace" declaration
in one of the Fusions are used to resolve a fully qualified Fusion
object name while parsing Fusion code.

The alias is the handle by wich the namespace can be referred to.
The namespace is, by convention, a package key which must correspond to a
namespace used in the prototype definitions for Fusion object types.

The special alias "default" is used as a fallback for resolution of unqualified
Fusion object types.

@param string $alias An alias for the given namespace, for example "neos"
@param string $namespace The namespace, for example "Neos.Neos"
@return void
@throws Fusion\Exception
@api
Sets the given alias to the specified namespace .