protected function loadPackageStack($class, array $package_stack)
    {
        foreach ($package_stack as $package) {
            $package_length = strlen($package);

            $class_path = substr($class, $package_length);

            $this->updateLog("debug", "Found class path {$class_path} in {$class} given {$package}");

            $package_loaded = $this->loadPackage($package, $class_path);

            if ($package_loaded) {
                $this->updateLog("info", "Loaded {$class_path} using package {$package}");
                return true;
            }
        }

        $this->updateLog("alert", "No files found for {$class} in registered packages!");

        return false;
    }