\CryptoManana\Core\Interfaces\ContainersDataShufflingInterface

Interface DataShufflingInterface - Interface for data shuffling capabilities.

Summary

Methods
Constants
shuffleString()
shuffleArray()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

shuffleString()

shuffleString(string  $string = '') : string

Shuffle a string.

Parameters

string $string

The string for shuffling.

Returns

string —

The output shuffled/scrambled string.

shuffleArray()

shuffleArray(array  $array = array()) : array

Shuffle an array.

Parameters

array $array

The array for shuffling.

Returns

array —

The output shuffled/scrambled array.