diff --git a/manual/en/events.txt b/manual/en/events.txt index 6a8eaa527..aa405450d 100644 --- a/manual/en/events.txt +++ b/manual/en/events.txt @@ -290,7 +290,7 @@ The following restrictions apply to `prePersist`: * If you are using a PrePersist Identity Generator such as sequences the ID value will *NOT* be available within any PrePersist events. * Doctrine will not recognize changes made to relations in a pre persist event - called by "reachibility" through a cascade persist unless you use the internal + called by "reachability" through a cascade persist unless you use the internal `UnitOfWork` API. We do not recommend such operations in the persistence by reachability context, so do this at your own risk and possibly supported by unit-tests. @@ -316,7 +316,7 @@ been computed. This means, the `onFlush` event has access to the sets of: * Collections scheduled for update * Collections scheduled for removal -To make use of the onFlush event you have to be familiar with interal UnitOfWork API, +To make use of the onFlush event you have to be familiar with the internal UnitOfWork API, which grants you access to the previously mentioned sets. See this example: [php]