src/Str.php
public function shuffle(): self
    {
        $parts = $this->chunk()->toPrimitive();
        \shuffle($parts);

        return new self(\implode('', $parts), $this->encoding);
    }
public function shuffle(): self
    {
        $parts = $this->chunk()->toPrimitive();
        \shuffle($parts);

        return new self(\implode('', $parts), $this->encoding);
    }
public function shuffle ( ) : self { $ parts = $ this -> chunk ( ) -> toPrimitive ( ) ; \ shuffle ( $ parts ) ; return new self ( \ implode ( '' , $ parts ) , $ this -> encoding ) ; }
Shuffle the string

@return self
Shuffle the string