type() public method

Get the type.
public type ( ) : string
return string
Ejemplo n.º 1
0
 public function testGetsType()
 {
     $time = new Time(new \DateTime());
     $this->assertEquals('TIME', $time->type());
 }