type() публичный Метод

Get the type.
public type ( ) : string
Результат string
Пример #1
0
 public function testGetsType()
 {
     $date = new Date(new \DateTime());
     $this->assertEquals('DATE', $date->type());
 }