You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Pipeline two messages. One to execute query with parameters and second to pull records.
87
92
$protocol
@@ -182,19 +187,14 @@ or [packer test](https://github.com/neo4j-php/Bolt/blob/master/tests/PackStream/
182
187
Structures `Node`, `Relationship`, `UnboundRelationship` and `Path` cannot be used as parameter. They are available only
183
188
as received data from database.
184
189
185
-
Server state is not available from server but we assume it. Library contains `\Bolt\helpers\ServerState` and you can get
186
-
used instance of this class with `$bolt->serverState` or `$protocol->serverState` (after you call `build()`).
187
-
188
190
### Autoload
189
191
190
192
Directory `src` contains autoload file which accepts only Bolt library namespaces. Main Bolt namespace points to this
191
193
directory. If you have installed this project with composer, you have to load `vendor/autoload.php`.
192
194
193
195
## Server state
194
196
195
-
If assumed server state is different than expected, library does not throw exception. This logic is silent but you can
196
-
change it and if you would like to implement own logic when assumed server state is different than expected you can
197
-
assign callable into class property `$serverState->expectedServerStateMismatchCallback`.
197
+
Server state is not reported by server but it is evaluated by received response. You can access current state through `$protocol->serverState`. This property is updated with every call `getResponse(s)`.
0 commit comments