private static function serializeValue( $value ) {
		try {
			return serialize( $value );
		} catch ( \Exception $ex ) {
			self::$logger->error( 'Value serialization failed: ' . $ex->getMessage() );
			return null;
		}
	}
private static function serializeValue( $value ) {
		try {
			return serialize( $value );
		} catch ( \Exception $ex ) {
			self::$logger->error( 'Value serialization failed: ' . $ex->getMessage() );
			return null;
		}
	}
private static function serializeValue ( $ value ) { try { return serialize ( $ value ) ; } catch ( \ Exception $ ex ) { self :: $ logger -> error ( 'Value serialization failed: ' . $ ex -> getMessage ( ) ) ; return null ; } }
Serialize a value with error logging
@param mixed $value
@return string|null
Serialize a value with error logging