src/Services/LogCapsule.php
/**
     * Converts datetime object to string.
     *
     * @param \DateTime $datetime The datetime object
     *
     * @return string
     */
Converts datetime object to string.
@param \DateTime $datetime The datetime object

@return string
Converts datetime object to string . @param \ DateTime $datetime The datetime object @return string
private static function dateToString(\DateTime $datetime): string
    {
        $dateTimeUTC = new \DateTimeZone('UTC');
        return $datetime->getTimestamp() . $datetime->setTimezone($dateTimeUTC)->format('v');
    }
private static function dateToString ( \ DateTime $ datetime ) : string { $ dateTimeUTC = new \ DateTimeZone ( 'UTC' ) ; return $ datetime -> getTimestamp ( ) . $ datetime -> setTimezone ( $ dateTimeUTC ) -> format ( 'v' ) ; }
Converts datetime object to string.
Converts datetime object to string .