[ResourceBundle][Fix]Missing Method

It miss the method `getPropertyName` in `DocumentRepository`, I copy paste it from `EntityRepository`. The better solution is to use a trait but it is not compatible with `5.3.3`