public function registerNamespace($namespace, $paths)
    {
        if (false === isset($this->_namespaces[$namespace])) {
            $this->_namespaces[$namespace] = array();
        }

        $this->_namespaces[$namespace] = array_merge($this->_namespaces[$namespace], (array) $paths);

        return $this;
    }
public function registerNamespace($namespace, $paths)
    {
        if (false === isset($this->_namespaces[$namespace])) {
            $this->_namespaces[$namespace] = array();
        }

        $this->_namespaces[$namespace] = array_merge($this->_namespaces[$namespace], (array) $paths);

        return $this;
    }
public function registerNamespace ( $ namespace , $ paths ) { if ( false === isset ( $ this -> _namespaces [ $ namespace ] ) ) { $ this -> _namespaces [ $ namespace ] = array ( ) ; } $ this -> _namespaces [ $ namespace ] = array_merge ( $ this -> _namespaces [ $ namespace ] , ( array ) $ paths ) ; return $ this ; }
Registers namespace parts to look for class name.

@param string       $namespace The namespace
@param string|array $paths     One or an array of associated locations

@return \BackBee\AutoLoader\AutoLoader The current instance of the autoloader class
Registers namespace parts to look for class name .