get() public method

Get the underlying \DateTimeInterface implementation.
public get ( ) : DateTimeInterface
return DateTimeInterface
 public function testGet()
 {
     $value = new \DateTime();
     $timestamp = new Timestamp($value);
     $this->assertEquals($value, $timestamp->get());
 }