protected function parseClassname($classname, $forceLatest = false)
    {
        $version = $forceLatest ? $this->latest : $this->current;

        if (!empty($this->resources)) {
            $path = $this->resources . "\\v{$version}\\" . str_after($classname, $this->resources . "\\");
        } else {
            $path = "v{$version}\\" . $classname;
        }

        $path = "\\{$this->path}\\{$path}";

        return $path;
    }
protected function parseClassname($classname, $forceLatest = false)
    {
        $version = $forceLatest ? $this->latest : $this->current;

        if (!empty($this->resources)) {
            $path = $this->resources . "\\v{$version}\\" . str_after($classname, $this->resources . "\\");
        } else {
            $path = "v{$version}\\" . $classname;
        }

        $path = "\\{$this->path}\\{$path}";

        return $path;
    }
protected function parseClassname ( $ classname , $ forceLatest = false ) { $ version = $ forceLatest ? $ this -> latest : $ this -> current ; if ( ! empty ( $ this -> resources ) ) { $ path = $ this -> resources . "\\v{$version}\\" . str_after ( $ classname , $ this -> resources . "\\" ) ; } else { $ path = "v{$version}\\" . $ classname ; } $ path = "\\{$this->path}\\{$path}" ; return $ path ; }
Returns the classname with the version considering.

@param string $classname
@param bool $forceLatest Set to true if last version is required

@return string
Returns the classname with the version considering .