serializeDate() serializeDate(\DateTimeInterface $date) : string 为数组 / JSON 序列化准备日期。 Parameters \DateTimeInterface $date Returns string