src/Zend/Loader/Autoloader.php
public function registerNamespace($namespace)
    {
        if (is_string($namespace)) {
            $namespace = (array) $namespace;
        } elseif (!is_array($namespace)) {
            throw new Zend_Loader_Exception('Invalid namespace provided');
        }

        foreach ($namespace as $ns) {
            if (!isset($this->_namespaces[$ns])) {
                $this->_namespaces[$ns] = true;
            }
        }
        return $this;
    }
public function registerNamespace($namespace)
    {
        if (is_string($namespace)) {
            $namespace = (array) $namespace;
        } elseif (!is_array($namespace)) {
            throw new Zend_Loader_Exception('Invalid namespace provided');
        }

        foreach ($namespace as $ns) {
            if (!isset($this->_namespaces[$ns])) {
                $this->_namespaces[$ns] = true;
            }
        }
        return $this;
    }
public function registerNamespace ( $ namespace ) { if ( is_string ( $ namespace ) ) { $ namespace = ( array ) $ namespace ; } elseif ( ! is_array ( $ namespace ) ) { throw new Zend_Loader_Exception ( 'Invalid namespace provided' ) ; } foreach ( $ namespace as $ ns ) { if ( ! isset ( $ this -> _namespaces [ $ ns ] ) ) { $ this -> _namespaces [ $ ns ] = true ; } } return $ this ; }
Register a namespace to autoload

@param  string|array $namespace
@return Zend_Loader_Autoloader
Register a namespace to autoload