format('Y-m-d H:i:s.uP'))) ->setTimezone(new \DateTimeZone('UTC')); } // Not instanceof: a subclass has state and behaviour of its own that no Rust value // carries, so it crosses as an entity instead. return \in_array(\get_class($value), self::CLASSES, true) ? $value : null; } }