shuffle() публичный Метод

Randomly shuffle the contents of a passed array.
public shuffle ( array $array ) : array
$array array
Результат array
Пример #1
0
 /**
  * @runInSeparateProcess
  */
 public function testShuffleArray()
 {
     $app = $this->getApp();
     $this->php->expects($this->once())->method('shuffle');
     $handler = new ArrayHandler($app);
     $handler->shuffle(['shuffle', 'board']);
 }