protected function _autoload($patterns, $className)
    {
        foreach ($patterns as $pattern) {
            if (!fnmatch($pattern, $className, FNM_NOESCAPE)) {
                continue;
            }
            $this->generateAndLoadClass($className);
            return true;

        }
        return false;
    }