Documentation

GitInfoCollector
in package

Git repository info collector.

Tags
author

Kitamura Satoshi with.no.parachute@gmail.com

Table of Contents

Properties

$command  : GitCommand
Git command.

Methods

__construct()  : mixed
Constructor.
collect()  : Git
Collect git repository info.
getCommand()  : GitCommand
Return git command.
collectBranch()  : string
Collect branch name.
collectCommit()  : Commit
Collect commit info.
collectRemotes()  : array<string|int, Remote>
Collect remotes info.

Properties

Methods

collectBranch()

Collect branch name.

protected collectBranch() : string
Tags
throws
RuntimeException
Return values
string

collectRemotes()

Collect remotes info.

protected collectRemotes() : array<string|int, Remote>
Tags
throws
RuntimeException
Return values
array<string|int, Remote>

        
On this page

Search results