Util\SvnCommit (Component\Intl)

Symfony\Component\Intl\Util\SvnCommit

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

public __construct(SimpleXMLElement $svnInfo)

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

Parameters

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

public string getRevision()

Returns the revision of the commit.

Return Value

string The revision of the commit.

public string getAuthor()

Returns the author of the commit.

Return Value

string The author name.

public string getDate()

Returns the date of the commit.

Return Value

string The commit date.

© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Intl/Util/SvnCommit.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部