get() 공개 메소드

Get the underlying \DateTimeInterface implementation.
public get ( ) : DateTimeInterface
리턴 DateTimeInterface
예제 #1
0
 public function testGet()
 {
     $value = new \DateTime();
     $date = new Date($value);
     $this->assertEquals($value, $date->get());
 }