function array_flatten(array $set, $path = null) { return Hash::flatten($set, $path); }
/** * Test that flatten() will flatten a multi-dimension array into a single-dimension. */ public function testFlatten() { $match = $this->collapsed; $match['empty'] = null; $this->assertEquals($match, Hash::flatten($this->expanded)); }