메소드 | 설명 | |
---|---|---|
__construct ( DateTimeInterface $value ) | ||
__toString ( ) : string | Format the value as a string. | |
formatAsString ( ) : string | Format the value as a string. | |
get ( ) : DateTimeInterface | Get the underlying \DateTimeInterface implementation. | |
type ( ) : string | Get the type. |
public __construct ( DateTimeInterface $value ) | ||
$value | DateTimeInterface | The time value. |
public get ( ) : DateTimeInterface | ||
리턴 | DateTimeInterface |