protected function isLoaderRegistered(&$last)
    {
        $result = false;
        $last = false;

        if ($funcs = spl_autoload_functions()) {
            $index = array_search($this->aliasLoader, $funcs, true);

            if (false !== $index) {
                $result = true;
                $last = $index === count($funcs) - 1;
            }
        }

        return $result;
    }
protected function isLoaderRegistered(&$last)
    {
        $result = false;
        $last = false;

        if ($funcs = spl_autoload_functions()) {
            $index = array_search($this->aliasLoader, $funcs, true);

            if (false !== $index) {
                $result = true;
                $last = $index === count($funcs) - 1;
            }
        }

        return $result;
    }
protected function isLoaderRegistered ( & $ last ) { $ result = false ; $ last = false ; if ( $ funcs = spl_autoload_functions ( ) ) { $ index = array_search ( $ this -> aliasLoader , $ funcs , true ) ; if ( false !== $ index ) { $ result = true ; $ last = $ index === count ( $ funcs ) - 1 ; } } return $ result ; }
Reports whether the alias loader is registered and at the end of the stack.

@param bool $last
@return bool
Reports whether the alias loader is registered and at the end of the stack .