Esempio n. 1
0
 public function testCanReplaceValues()
 {
     $array = Arr::replace($this->array, 'foo', 'notfoo', 'notbar');
     $matcher = ['notfoo' => 'notbar', 'bis' => 'ter'];
     $this->assertEquals($matcher, $array);
 }