\JOpenstreetmapObjectMock
Mock JOpenstreetmapObject
Synopsis
class JOpenstreetmapObjectMock
extends JOpenstreetmapObject
{
- // Inherited members from JOpenstreetmapObject
- protected JRegistry $options;
- protected JHttp $client;
- protected JOpenstreetmapOauth $oauth;
- // Inherited methods from JOpenstreetmapObject
- public void __construct()
- public mixed getOption()
- public JOpenstreetmapObject setOption()
- public SimpleXMLElement sendRequest()
Hierarchy
Extends
Members
protected
- $client
—
JHttp
The HTTP client object to use in sending HTTP requests. - $oauth
—
JOpenstreetmapOauth
The OAuth client. - $options
—
JRegistry
Options for the Openstreetmap object.
Methods
Inherited from JOpenstreetmapObject
public
- getOption() — Get an option from the JOpenstreetmapObject instance.
- sendRequest() — Method to send the request which does not require authentication.
- setOption() — Set an option for the JOpenstreetmapObject instance.