src/package/Version.php
protected function getVersion($type)
    {
        return $this->git->isVersionComingFromGit()
            ? $this->git->version($type)
            : $this->config->get("current.{$type}");
    }
protected function getVersion($type)
    {
        return $this->git->isVersionComingFromGit()
            ? $this->git->version($type)
            : $this->config->get("current.{$type}");
    }
protected function getVersion ( $ type ) { return $ this -> git -> isVersionComingFromGit ( ) ? $ this -> git -> version ( $ type ) : $ this -> config -> get ( "current.{$type}" ) ; }
Get a version.

@param $type

@return string
Get a version .