mirror of
https://github.com/standardebooks/web.git
synced 2025-07-06 06:40:33 -04:00
11 lines
233 B
PHP
11 lines
233 B
PHP
<?
|
|
class GitCommit{
|
|
public $Timestamp;
|
|
public $Message;
|
|
|
|
public function __construct(string $unixTimestamp, string $message){
|
|
$this->Timestamp = new \DateTimeImmutable('@' . $unixTimestamp);
|
|
$this->Message = $message;
|
|
}
|
|
}
|
|
?>
|