Skip to content

Commit ff652a3

Browse files
committed
Final timestamp test
1 parent d79b44a commit ff652a3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

php/tests/extend_timestamp.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<?php
2+
3+
require_once (dirname(__DIR__) . '/vendor/autoload.php');
4+
5+
use Google\Protobuf\Timestamp;
6+
7+
class MyTimestamp extends Timestamp
8+
{
9+
}
10+
11+
$t = new MyTimestamp();
12+
13+
var_dump($t->hasSeconds());

0 commit comments

Comments
 (0)