doctrine / doctrine-laminas-hydrator

Doctrine hydrators for Laminas applications
https://www.doctrine-project.org/projects/doctrine-laminas-hydrator.html
MIT License
33 stars 19 forks source link

Make members of filters and strategies private #51

Closed driehle closed 2 years ago

driehle commented 2 years ago

Caution: BC Break

This makes member os filters and strategies private.

For PropertyName filter

The members properties and exclude are now private. As the class itself is marked final, this doesn't have any consequences. No getter/setter methods are provided.

For AbstractCollectionStrategy

The members which are are now private are:

While AbstractCollectionStrategy is marked as internal in 3.x, it wasn't internal in 2.x, so this will be a BC break for users upgrading from 2.x who have implemented their own strategies extending from AbstractCollectionStrategy.