File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed
Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ A very simple example:
4040
4141``` php
4242
43- // This facade is auto-discoverec for Laravel 5.6+
43+ // This facade is auto-discovered for Laravel 5.6+
4444
4545use OdooApi;
4646
@@ -82,6 +82,13 @@ certificate to add, then yiu can get the client instance using:
8282
8383where ` $type ` will typically be 'db', 'common' or 'object'.
8484
85+ You have the ability to construct your own messages from scratch like this,
86+ and there are helper methods in the ` $client ` to convert native PHP data types
87+ to and from XML RPC value objects.
88+ However, you should be able to leave all that conversion to be handled in the
89+ background by the client - just give it array/string/in/etc. data and get
90+ models and arrays back.
91+
8592# Query methods
8693
8794The following methods are supported and will return a collection:
@@ -143,3 +150,9 @@ $response = $client->write(
143150 ]
144151);
145152```
153+
154+ # TODO
155+
156+ * Conversion of date types has not been tested.
157+ Ideally we would support Carbon 2 for sending dates in and getting
158+ dates back out again.
You can’t perform that action at this time.
0 commit comments