Lines Matching defs:object
50 function date_format(DateTimeInterface $object, string $format): string {}
52 function date_modify(DateTime $object, string $modifier): DateTime|false {}
54 function date_add(DateTime $object, DateInterval $interval): DateTime {}
56 function date_sub(DateTime $object, DateInterval $interval): DateTime {}
58 function date_timezone_get(DateTimeInterface $object): DateTimeZone|false {}
60 function date_timezone_set(DateTime $object, DateTimeZone $timezone): DateTime {}
62 function date_offset_get(DateTimeInterface $object): int {}
68 DateTime $object, int $hour, int $minute, int $second = 0, int $microsecond = 0): DateTime {}
70 function date_date_set(DateTime $object, int $year, int $month, int $day): DateTime {}
72 function date_isodate_set(DateTime $object, int $year, int $week, int $dayOfWeek = 1): DateTime {}
74 function date_timestamp_set(DateTime $object, int $timestamp): DateTime {}
76 function date_timestamp_get(DateTimeInterface $object): int {}
80 function timezone_name_get(DateTimeZone $object): string {}
84 function timezone_offset_get(DateTimeZone $object, DateTimeInterface $datetime): int {}
87 …DateTimeZone $object, int $timestampBegin = PHP_INT_MIN, int $timestampEnd = PHP_INT_MAX): array|f…
89 function timezone_location_get(DateTimeZone $object): array|false {}
99 function date_interval_format(DateInterval $object, string $format): string {}
152 public static function createFromImmutable(DateTimeImmutable $object) {}
154 public static function createFromInterface(DateTimeInterface $object): DateTime {}
324 public static function createFromMutable(DateTime $object) {}
326 public static function createFromInterface(DateTimeInterface $object): DateTimeImmutable {}