src/Zend/Loader/Autoloader.php
public function unshiftAutoloader($callback, $namespace = '')
    {
        $autoloaders = $this->getAutoloaders();
        array_unshift($autoloaders, $callback);
        $this->setAutoloaders($autoloaders);

        $namespace = (array) $namespace;
        foreach ($namespace as $ns) {
            $autoloaders = $this->getNamespaceAutoloaders($ns);
            array_unshift($autoloaders, $callback);
            $this->_setNamespaceAutoloaders($autoloaders, $ns);
        }

        return $this;
    }
public function unshiftAutoloader($callback, $namespace = '')
    {
        $autoloaders = $this->getAutoloaders();
        array_unshift($autoloaders, $callback);
        $this->setAutoloaders($autoloaders);

        $namespace = (array) $namespace;
        foreach ($namespace as $ns) {
            $autoloaders = $this->getNamespaceAutoloaders($ns);
            array_unshift($autoloaders, $callback);
            $this->_setNamespaceAutoloaders($autoloaders, $ns);
        }

        return $this;
    }
public function unshiftAutoloader ( $ callback , $ namespace = '' ) { $ autoloaders = $ this -> getAutoloaders ( ) ; array_unshift ( $ autoloaders , $ callback ) ; $ this -> setAutoloaders ( $ autoloaders ) ; $ namespace = ( array ) $ namespace ; foreach ( $ namespace as $ ns ) { $ autoloaders = $ this -> getNamespaceAutoloaders ( $ ns ) ; array_unshift ( $ autoloaders , $ callback ) ; $ this -> _setNamespaceAutoloaders ( $ autoloaders , $ ns ) ; } return $ this ; }
Add an autoloader to the beginning of the stack

@param  object|array|string $callback PHP callback or Zend_Loader_Autoloader_Interface implementation
@param  string|array $namespace Specific namespace(s) under which to register callback
@return Zend_Loader_Autoloader
Add an autoloader to the beginning of the stack