Adding a tip on using doctrine as a service

| Q                  | A
| ------------------- | ---
| Doc fix?        | no
| New docs?    | yes
| Applies to     | all
| Fixed tickets | #2224

As discussed in GH-2224.