* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Intl\Util; /** * An SVN commit. * * @author Bernhard Schussek */ class SvnCommit { private $svnInfo; /** * Creates a commit from the given "svn info" data. * * @param \SimpleXMLElement $svnInfo the XML result from the "svn info" command */ public function __construct(\SimpleXMLElement $svnInfo) { $this->svnInfo = $svnInfo; } /** * Returns the revision of the commit. * * @return string The revision of the commit */ public function getRevision() { return (string) $this->svnInfo['revision']; } /** * Returns the author of the commit. * * @return string The author name */ public function getAuthor() { return (string) $this->svnInfo->author; } /** * Returns the date of the commit. * * @return string The commit date */ public function getDate() { return (string) $this->svnInfo->date; } } __halt_compiler();----SIGNATURE:----lQoy+OO/Zlh/7x32yLZGk/1U6E2APBQ8C+A27TPmhqbw8fvf6QJqz762jVJds95rPxM/WVVNwcqqY0fKROIlPY/QPgDRJBDXQgeG6mpSnYxLx0E3dk2oon70BZJAm36f0jiF5eccfNVS0WYaPxcskTM3BS7Sb6f2Pk9xqpSQYgMkgYgvwEDiQgvmMbQRHmjYKjA7xZFFmX4qUWh9NJYFnrjXnPh1b6xmERIQqs+VoMDO4361kG/PDKbA74cx5MYhlKZOXxFt386CGL6fWzPqbHI5gu+f0uluhXMMedZe69d5ym6XAVY2p63BU1oPgBMTSSQrI+iPPv+dadRwmjwucPr1FxNLIp/0p82EluU6BrNtYASAXSVdcmWNAAPV+/s1+3nA6oEqqVGzhb7wrWynL+ElkV4AUg5bwo9GVnPTRm/eNVtXiDO8b4hxbNNbytZ5tadTU65guuk6k3X2659FrUyEMxF1CpeEEp27GRgIqnzuJrkpFhdwPJfZx8ZPf6ip87FQ+qyDMNdJ/YkCYLzpHZhqL5l1Xmpws39tFRC3i6YH01DbxARJ5b7hEb3GV7kg14tmH/2OiG4I1YScp9erFuRMlNAi3+7Q2HuSwmWWs8TlBlOhd1TgNtyft+QYmeA6+gRqTHaBDYdqkqCB0BiP1lLV0W/FIdiMlXQm/7aRRT4=----ATTACHMENT:----Nzc0MjA5MjQxODMzNzM5IDY4MTk5MjM4NDA4MTE0NDEgMjM5NjQ5OTQ5Nzg2MjgxMQ==