type() public method

Get the type.
public type ( ) : string
return string
 public function testGetsType()
 {
     $timestamp = new Timestamp(new \DateTime());
     $this->assertEquals('TIMESTAMP', $timestamp->type());
 }