Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
Geolim4 committed Jan 7, 2024
1 parent c7360c6 commit f42266f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,25 @@ composer install phpfastcache/arangodb-extension

#### ⚠️ This extension requires:
1️ The composer `triagens/arangodb` library 3.8 at least.

## Events
This driver is emitting [customs events](https://github.com/PHPSocialNetwork/phpfastcache/blob/master/docs/EVENTS.md):
- onArangodbConnection(*Callable* **$callback**)
- **Callback arguments**
- *ExtendedCacheItemPoolInterface* **$itemPool**
- *EventReferenceParameter($connectionOptions)* **$connectionOptions** _via EventReferenceParameter object_ **(type modification forbidden)**
- **Scope**
- Arangodb Driver
- **Description**
- Allow you to alter the parameters built used to connect to Arangodb server
- **Risky Circular Methods**: None

- onArangodbCollectionParams(*Callable* **$callback**)
- **Callback arguments**
- *ExtendedCacheItemPoolInterface* **$itemPool**
- *EventReferenceParameter($params)* **$params** _via EventReferenceParameter object_ **(type modification forbidden)**
- **Scope**
- Arangodb Driver
- **Description**
- Allow you to alter the parameters built used to create the collection
- **Risky Circular Methods**: None

0 comments on commit f42266f

Please sign in to comment.