mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-25 04:56:23 +00:00
389 B
389 B
id | title |
---|---|
6e9abc7a-fef2-4450-9694-8311eb70d7cf | createFromInterface() |
Description
Similar to createFromImmutable(),
but this method creates a date from any object that uses
DateTimeInterface
Syntax
DateTime::createFromInterface(DateTimeInterface $other);
DateTimeImmutable::createFromInterface(DateTimeInterface $other);