/** * @dataProvider provideAssocIn */ public function testItShouldDoNothingWithAnEmptyIn($coll) { $this->assertSame($coll, f\assoc_in($coll, array(), 'bar')); }
public function add($parameters, $name, $value) { return f\assoc_in($parameters, $this->depthForName($name), $value); }