The below guide will assist in migrating from WhiteOctoberPagerfantaBundle to BabDevPagerfantaBundle
- Symfony 3.4, 4.4, or any 5.x release
- PHP 7.2 or later
- The bundle namespace has changed from
WhiteOctober\PagerfantaBundle
toBabDev\PagerfantaBundle
, any references in your application should be updated - The bundle class has changed from
WhiteOctober\PagerfantaBundle\WhiteOctoberPagerfantaBundle
toBabDev\PagerfantaBundle\BabDevPagerfantaBundle
, you will need to update your application to reference the correct bundle (with Symfony Flex this may have been done for you already) - The bundle's root configuration node has moved from
white_october_pagerfanta
tobabdev_pagerfanta
, you will need to update the configuration in your application - Made all classes final except for the Pagerfanta views
These changes relate to the bundle's DI container configuration
- Removed the
white_october_pagerfanta.view_factory.class
parameter, use a compiler pass if you wish to change this class - Renamed the
white_october_pagerfanta.view_factory
service topagerfanta.view_factory
to be consistent with other service IDs and made the service public - Renamed the
twig.extension.pagerfanta
service topagerfanta.twig_extension