src/package/Support/Git.php
public function makeGitVersionRetrieverCommand($mode = null)
    {
        $mode = is_null($mode) ? $this->config->get('version_source') : $mode;

        return $this->searchAndReplaceRepository(
            $this->config->get('git.version.'.$mode)
        );
    }
public function makeGitVersionRetrieverCommand($mode = null)
    {
        $mode = is_null($mode) ? $this->config->get('version_source') : $mode;

        return $this->searchAndReplaceRepository(
            $this->config->get('git.version.'.$mode)
        );
    }
public function makeGitVersionRetrieverCommand ( $ mode = null ) { $ mode = is_null ( $ mode ) ? $ this -> config -> get ( 'version_source' ) : $ mode ; return $ this -> searchAndReplaceRepository ( $ this -> config -> get ( 'git.version.' . $ mode ) ) ; }
Make a git version command.

@param string|null $mode

@return string
Make a git version command .