I propose converting PageProps to a service. Within the class, it uses:
- wfGetDB (to be replaced with ILoadBalancer)
- new LinkBatch (to be replaced with LinkBatchFactory)
Converting it to a service would also allow it to be tested with Unit tests
Currently, the constructor is private, and an instance is retrieved with PageProps::getInstance(). This means that breaking changes can be made to the construct when making it public, and dependencies can be injected without the need to support construction without the parameters