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:
40
40
41
41
``` php
42
42
43
- // This facade is auto-discoverec for Laravel 5.6+
43
+ // This facade is auto-discovered for Laravel 5.6+
44
44
45
45
use OdooApi;
46
46
@@ -82,6 +82,13 @@ certificate to add, then yiu can get the client instance using:
82
82
83
83
where ` $type ` will typically be 'db', 'common' or 'object'.
84
84
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
+
85
92
# Query methods
86
93
87
94
The following methods are supported and will return a collection:
@@ -143,3 +150,9 @@ $response = $client->write(
143
150
]
144
151
);
145
152
```
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