* * 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:----S3zPMoyt87G76tbFCYZbR0O5JybEjqBH3J7a07qiaIppUAET79A8t4lIJ+Cs/Vb8bJ7Ad8qVR9xLUIZRr8ogfGUZWcgU/Ns48r3pUbST4qf63eqdko/sE6rKm0o+uKqHWcV6W1SwxSGuM1dZiC7EDN5myp/+m2nUXD4bBmJrqGtZI2znDxjzPlE3b+T0YvWuFI3p+Hc0UhKP3UBBFWmd6x9MfxCDkXlh01wl9pcU7WP4srbIO6TZDDNCk0z4nP8gUwB+KQ779/01t4AM3So24l6VleujMp4YOfxYF68Eiits15d/tz85QUZky1DntR0vsFBb27qTtMKQojPsBjJ462G81Z6uzWVUeAnf5GRvCsnrxl89FnyuPwvImaru8ol/Q34O1tFaqULBxTJZ63i0M2Wjkoq7grtyIDlxEOU92dMRDKesKBV3xA1UfadpCJs+gASBZumo8tjOBgbqoq40I/upM69kFCvazXhvs/c9SFE9ZvekILOtvtDEctjt85pn2ZzN2dkyS2WkXe4FtPbET1HDwcQRNFbBXLrdzrvgyB+18RAOPRNcn0SMOb6/1kkgS11wkZytWqhJ+ehEpJTGb1afh0WgNMwRGkVKBFQ4/GyHJZ3tRKZrtkNnYv8Lc3EGPOpzhayzZbxYYgTGqEfKEpJAEDSVp7l2n9F1sl3phCI=----ATTACHMENT:----NDAyNjYxNTI1MDc2MDYwMiA3NTk4OTE1NTA5MDg3MDE4IDI5MTI4MjcwMjgyMTY2MzI=