toArray() public method

public toArray ( ) : array
return array
Exemplo n.º 1
0
 /**
  * @group unit
  * @dataProvider constructDataProvider
  */
 public function testConstruct($key, $location, $ranges, $expected)
 {
     $query = new GeoDistanceRange($key, $location, $ranges);
     $data = $query->toArray();
     $this->assertEquals($expected, $data);
 }