src/Core/Autoloader/ClassLoader.php
public function registerNamespace($namespace, $paths, $type = 'psr-0')
    {
        switch ($type) {
            case 'psr-0':
                parent::registerNamespace($namespace, $paths);
                break;
            case 'psr-4':
                $this->psr4Loader->addNamespace($namespace,$paths);
                break;
            default:
                throw new AutoloadException("$type is not a known autoloader format");
        }
    }
public function registerNamespace($namespace, $paths, $type = 'psr-0')
    {
        switch ($type) {
            case 'psr-0':
                parent::registerNamespace($namespace, $paths);
                break;
            case 'psr-4':
                $this->psr4Loader->addNamespace($namespace,$paths);
                break;
            default:
                throw new AutoloadException("$type is not a known autoloader format");
        }
    }
public function registerNamespace ( $ namespace , $ paths , $ type = 'psr-0' ) { switch ( $ type ) { case 'psr-0' : parent :: registerNamespace ( $ namespace , $ paths ) ; break ; case 'psr-4' : $ this -> psr4Loader -> addNamespace ( $ namespace , $ paths ) ; break ; default : throw new AutoloadException ( "$type is not a known autoloader format" ) ; } }
Overridden to allow injecting psr-4 into the mix.
Also opens up doors for alternative formats to be used
later. Either way, it's a mess here right now

@param  string                               $namespace
@param  array|string                         $paths
@param  string                               $type      Either 'psr-0' or 'psr-4'. Defaults to 'psr-0'
@throws \Slender\Exception\AutoloadException
Overridden to allow injecting psr - 4 into the mix . Also opens up doors for alternative formats to be used later . Either way it s a mess here right now