A package for bootstrapping nested set implementations. Made with love by C4 Tech and Design.
Our nested set repository provides a cacheable interface to the underlying model. This builds on top of the base Repository class from c4tech/support.
The property refering to the underlying model (static $model
) is expected
to be a reference to a config item but can be a hardcoded class name.
Our nested set model bridges the baum/baum implementation with our own base Model class from c4tech/support.
- Add
"c4tech/nested-set": "2.x"
to your composer requirements and runcomposer update
. - Create your own classes to extend
Model
andRepository
.