TreeTrait.php
Table of Contents
Traits
- TreeTrait
- Public API of nested-set tree operations: moving and deleting a subtree. Wraps them in a transaction and delegates to the service ({@see \App\Core\Traits\Api\Models\Services\TreeTrait}), which handles cache invalidation, and to the mapper/repository, which run the set-based SQL.