Lines Matching defs:object
181 function date_format(DateTimeInterface $object, string $format): string {}
183 function date_modify(DateTime $object, string $modifier): DateTime|false {}
185 function date_add(DateTime $object, DateInterval $interval): DateTime {}
187 function date_sub(DateTime $object, DateInterval $interval): DateTime {}
190 function date_timezone_get(DateTimeInterface $object): DateTimeZone|false {}
192 function date_timezone_set(DateTime $object, DateTimeZone $timezone): DateTime {}
194 function date_offset_get(DateTimeInterface $object): int {}
201 DateTime $object, int $hour, int $minute, int $second = 0, int $microsecond = 0): DateTime {}
203 function date_date_set(DateTime $object, int $year, int $month, int $day): DateTime {}
205 function date_isodate_set(DateTime $object, int $year, int $week, int $dayOfWeek = 1): DateTime {}
207 function date_timestamp_set(DateTime $object, int $timestamp): DateTime {}
209 function date_timestamp_get(DateTimeInterface $object): int {}
215 function timezone_name_get(DateTimeZone $object): string {}
220 function timezone_offset_get(DateTimeZone $object, DateTimeInterface $datetime): int {}
227 …DateTimeZone $object, int $timestampBegin = PHP_INT_MIN, int $timestampEnd = PHP_INT_MAX): array|f…
233 function timezone_location_get(DateTimeZone $object): array|false {}
254 function date_interval_format(DateInterval $object, string $format): string {}
354 public static function createFromImmutable(DateTimeImmutable $object): static {}
357 …public static function createFromInterface(DateTimeInterface $object): DateTime {} // TODO return …
531 public static function createFromMutable(DateTime $object): static {}
534 …public static function createFromInterface(DateTimeInterface $object): DateTimeImmutable {} // TOD…