Doctrine\MongoDB\Tests\Query\BuilderTest::providePoint PHP Method

providePoint() public method

public providePoint ( )
    public function providePoint()
    {
        $coordinates = [0, 0];
        $json = ['type' => 'Point', 'coordinates' => $coordinates];
        return ['legacy array' => [$coordinates, $coordinates, false], 'GeoJSON array' => [$json, $json, true], 'GeoJSON object' => [$this->getMockPoint($json), $json, true]];
    }
BuilderTest