Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Commit

Permalink
Merge pull request #148 from TomHAnderson/readme-0.3
Browse files Browse the repository at this point in the history
New release 0.3
  • Loading branch information
TomHAnderson committed Jan 20, 2015
2 parents 3d23653 + 201a868 commit a0b4cf1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Installation of this module uses composer. For composer documentation, please re
[getcomposer.org](http://getcomposer.org/).

```sh
$ php composer.phar require zfcampus/zf-apigility-doctrine "~0.2"
$ php composer.phar require zfcampus/zf-apigility-doctrine "~0.3"
```

This library provides two modules. The first, ZF\Apigility\Doctrine\Server provides
Expand Down Expand Up @@ -63,9 +63,8 @@ Custom Events

It is possible to hook in on specific doctrine events of the type `DoctrineResourceEvent`.
This way, it is possible to alter the doctrine entities or collections before or after a specific action is performed.
The EVENT_FETCH_ALL_PRE works on the Query Builder from the fetch all query. This allows you to modify the Query Builder before a fetch is performed.

A list of all supported events:
Supported events:
```
EVENT_FETCH_POST = 'fetch.post';
EVENT_FETCH_ALL_PRE = 'fetch-all.pre';
Expand All @@ -78,6 +77,8 @@ EVENT_PATCH_PRE = 'patch.pre';
EVENT_PATCH_POST = 'patch.post';
EVENT_PATCH_PRE = 'patch.pre';
EVENT_PATCH_POST = 'patch.post';
EVENT_PATCH_LIST_PRE = 'patch-all.pre';
EVENT_PATCH_LIST_POST = 'patch-all.post';
EVENT_DELETE_PRE = 'delete.pre';
EVENT_DELETE_POST = 'delete.post';
```
Expand Down

0 comments on commit a0b4cf1

Please sign in to comment.