Upgrade PHPCR cache config to doctrine/cache package.
Why?
Symfony 6 does not longer provide the Symfony\Component\Cache\DoctrineProvider and so the new Doctrine\Common\Cache\Psr6\DoctrineProvider need to be used. Which need to be created over a factory method.
What's in this PR?
Upgrade PHPCR cache config to doctrine/cache package.
Why?
Symfony 6 does not longer provide the
Symfony\Component\Cache\DoctrineProvider
and so the newDoctrine\Common\Cache\Psr6\DoctrineProvider
need to be used. Which need to be created over a factory method.