private function uuidTextToBin($value)
	{
		// Multiple files
		if (substr($value, 0, 2) === 'a:') {
			return serialize(array_map(function($value) {
				if (strlen($value) === 36) {
					$value = \StringUtil::uuidToBin($value);
				}
				return $value;
			}, \StringUtil::deserialize($value)));
		}
		// Single file
		if (strlen($value) === 36) {
			return \StringUtil::uuidToBin($value);
		}

		return $value;
	}
private function uuidTextToBin($value)
	{
		// Multiple files
		if (substr($value, 0, 2) === 'a:') {
			return serialize(array_map(function($value) {
				if (strlen($value) === 36) {
					$value = \StringUtil::uuidToBin($value);
				}
				return $value;
			}, \StringUtil::deserialize($value)));
		}
		// Single file
		if (strlen($value) === 36) {
			return \StringUtil::uuidToBin($value);
		}

		return $value;
	}
private function uuidTextToBin ( $ value ) { // Multiple files if ( substr ( $ value , 0 , 2 ) === 'a:' ) { return serialize ( array_map ( function ( $ value ) { if ( strlen ( $ value ) === 36 ) { $ value = \ StringUtil :: uuidToBin ( $ value ) ; } return $ value ; } , \ StringUtil :: deserialize ( $ value ) ) ) ; } // Single file if ( strlen ( $ value ) === 36 ) { return \ StringUtil :: uuidToBin ( $ value ) ; } return $ value ; }
Convert text UUIDs to binary

@param string $value

@return string
Convert text UUIDs to binary