public function shuffle($collection=null) {
    list($collection) = self::_wrapArgs(func_get_args(), 1);
    
    $collection = (array) self::_collection($collection);
    shuffle($collection);
     
    return self::_wrap($collection);
  }
public function shuffle($collection=null) {
    list($collection) = self::_wrapArgs(func_get_args(), 1);
    
    $collection = (array) self::_collection($collection);
    shuffle($collection);
     
    return self::_wrap($collection);
  }
public function shuffle ( $ collection = null ) { list ( $ collection ) = self :: _wrapArgs ( func_get_args ( ) , 1 ) ; $ collection = ( array ) self :: _collection ( $ collection ) ; shuffle ( $ collection ) ; return self :: _wrap ( $ collection ) ; }
Shuffle the array
Shuffle the array