DateTimeImmutable::createFromMutable
DateTimeImmutable::createFromMutable
(PHP 5 >= 5.6.0, PHP 7)
DateTimeImmutable::createFromMutable — Returns new DateTimeImmutable object encapsulating the given DateTime object
Description
public static DateTimeImmutable DateTimeImmutable::createFromMutable ( DateTime $datetime )