* * 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:----pF74VQ5Z/rOy0yZwTUtpz21YFEl0gfJ3hTbM82R5bsM4+N7VDASygtMgbB4icNJoPbrUbymkSw1e8MyY2p4iX4naDdT3F29fYMx4BHEUkxyLBIfoHHN0jvHhRhFJvG/VDZshWw5eQHXo9pqlh/dfua2HA5rNatJTYzxTBrImKreOIhfM8pR5CsDRtKxh8YxQOXliEvCBvawEqldHCw+uzIJw5/WdOQLSYH9GWHnmMBBuLwuVS8cXjsyBSVxCDzVtZEnXY/x5YpOgwKCncsAZDCQ47nxQyBewcE7qxqsF8/TNZT0Il+jLW6PCt5MRvEc9U3FySmCGklM7tBBqMPQdTVzzY7rlfWAl+2BRNyRbizSoYx2jxEWNb+p8YMe7DC+UpPPfDcl1GdgSo+ZKmyT3Hkz8Z4j00JfgF0OJfsNKg9WWnT3azy210YGhoUZeyHkyzp9AytsVUzgUMcZVJp31GZsfnFWBk1Y3e/mR9qyGZL8YU1tCameiuGK9E5INl5e3Lo2cuqexCkOBmtVf//chKrQWwB4ilJdwEcNnNhIyX+QA1/C/3vBoVIkhLfZBKDEqWRZozmV4aSK5Nn9lCzmTXVlryl62RyIkLCLh+aa3s/WALCNTRIOPKzBZ63hRiZfLrVxhltdtVDycW6sWieAonE52i6dVKnmL3mAMbm12oes=----ATTACHMENT:----MTk0MjQ0NTQzMzI5MDM1IDM2NTk4OTU1MzI3NzUwOTMgMjg3NzA4NjM4MTA4OTkxMQ==