$mode]; } private static function supportsPersistentSharing(): bool { static $supported; return $supported ??= defined(TransportSharing::class . '::PERSISTENT_PREFER'); } private static function supportsHandlerSharing(): bool { static $supported; return $supported ??= class_exists(TransportSharing::class); } }