brightnucleus/collection

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Collection class with implementations for Doctrine & WP elements

dev-master 2019-08-24 08:20 UTC

This package is auto-updated.

Last update: 2021-08-24 12:59:58 UTC


README

Provide an abstract to work with WordPress entities through collections.

Benefits:

  • Any collection of elements has basic manipulation that doesn't require knowledge about the type.
  • All collections can be filtered using Criteria, which can work before just as well as after hydration. If the requirements are met, the actual query is only done when you access an individual element inside of the collection.
  • ...

This is still a work-in-progress.