public function resolveClassname($classname)
    {
        $path = $this->parseClassname($classname);

        // Check if the resource was found
        if (class_exists($path)) {
            return $path;
        }

        // If we are on the latest version, stop searching
        if ($this->isLatest()) {
            throw new Exceptions\ResourceNotFoundException($classname, $path);
        }

        // Search on the latest version
        $path = $this->parseClassname($classname, true);

        // If still does not exists, fail
        if (!class_exists($path)) {
            throw new Exceptions\ResourceNotFoundException($classname, $path);
        }

        return $path;
    }