public function classExists($className)
    {
        if (!$className) {
            return false;
        }

        if (false === isset($this->existingClassList[$className])) {
            $this->existingClassList[$className] = class_exists($className) || interface_exists($className);
        }

        return $this->existingClassList[$className];
    }