class SvnCommit

An SVN commit.

Methods

__construct(SimpleXMLElement $svnInfo)

Creates a commit from the given "svn info" data.

string
getRevision()

Returns the revision of the commit.

string
getAuthor()

Returns the author of the commit.

string
getDate()

Returns the date of the commit.

Details

at line line 32
__construct(SimpleXMLElement $svnInfo)

Creates a commit from the given "svn info" data.

Parameters

SimpleXMLElement $svnInfo The XML result from the "svn info" command.

at line line 42
string getRevision()

Returns the revision of the commit.

Return Value

string The revision of the commit.

at line line 52
string getAuthor()

Returns the author of the commit.

Return Value

string The author name.

at line line 62
string getDate()

Returns the date of the commit.

Return Value

string The commit date.