Skip to content

Commit f42266f

Browse files
committed
Updated README
1 parent c7360c6 commit f42266f

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

+22
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,25 @@ composer install phpfastcache/arangodb-extension
2424

2525
#### ⚠️ This extension requires:
2626
1️ The composer `triagens/arangodb` library 3.8 at least.
27+
28+
## Events
29+
This driver is emitting [customs events](https://github.com/PHPSocialNetwork/phpfastcache/blob/master/docs/EVENTS.md):
30+
- onArangodbConnection(*Callable* **$callback**)
31+
- **Callback arguments**
32+
- *ExtendedCacheItemPoolInterface* **$itemPool**
33+
- *EventReferenceParameter($connectionOptions)* **$connectionOptions** _via EventReferenceParameter object_ **(type modification forbidden)**
34+
- **Scope**
35+
- Arangodb Driver
36+
- **Description**
37+
- Allow you to alter the parameters built used to connect to Arangodb server
38+
- **Risky Circular Methods**: None
39+
40+
- onArangodbCollectionParams(*Callable* **$callback**)
41+
- **Callback arguments**
42+
- *ExtendedCacheItemPoolInterface* **$itemPool**
43+
- *EventReferenceParameter($params)* **$params** _via EventReferenceParameter object_ **(type modification forbidden)**
44+
- **Scope**
45+
- Arangodb Driver
46+
- **Description**
47+
- Allow you to alter the parameters built used to create the collection
48+
- **Risky Circular Methods**: None

0 commit comments

Comments
 (0)