queryObject() public method

This method is used internally to run queries and is not intended for use outside the internal library API
public queryObject ( ) : array
return array
 public function testJsonSerialize()
 {
     $query = new GqlQuery($this->mapper, 'SELECT * FROM foo');
     $this->assertEquals($query->jsonSerialize(), $query->queryObject());
 }