src/Nabu/Autoloader.php
protected function includeClass($class)
    {
        $this->updateLog("info", "Setting up {$class} class for inclusion.");

        $class_bits = explode("\\", $class);

        $package       = "";
        $package_stack = array();

        foreach ($class_bits as $bit) {
            $package = $package . $bit . "\\";

            $package_registered = $this->packageRegistered($package);

            if ($package_registered) {
                $package_stack[] = $package;
            }
        }

        $this->loadPackageStack($class, $package_stack);
    }
protected function includeClass($class)
    {
        $this->updateLog("info", "Setting up {$class} class for inclusion.");

        $class_bits = explode("\\", $class);

        $package       = "";
        $package_stack = array();

        foreach ($class_bits as $bit) {
            $package = $package . $bit . "\\";

            $package_registered = $this->packageRegistered($package);

            if ($package_registered) {
                $package_stack[] = $package;
            }
        }

        $this->loadPackageStack($class, $package_stack);
    }
protected function includeClass ( $ class ) { $ this -> updateLog ( "info" , "Setting up {$class} class for inclusion." ) ; $ class_bits = explode ( "\\" , $ class ) ; $ package = "" ; $ package_stack = array ( ) ; foreach ( $ class_bits as $ bit ) { $ package = $ package . $ bit . "\\" ; $ package_registered = $ this -> packageRegistered ( $ package ) ; if ( $ package_registered ) { $ package_stack [ ] = $ package ; } } $ this -> loadPackageStack ( $ class , $ package_stack ) ; }
Includes the file corresponding with the class name to be autoloaded

@param string $class Class name as defined by PHP autoloading

@return void
Includes the file corresponding with the class name to be autoloaded