Метод | Описание | |
---|---|---|
__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 __toString ( ) : string | ||
Результат | string |
public formatAsString ( ) : string | ||
Результат | string |
public get ( ) : DateTimeInterface | ||
Результат | DateTimeInterface |