CoolCMS API

Region.php

Table of Contents

Classes

Region
Region is a nested-set tree (`parent_id` + `lft`/`rgt`/`level`), hence the {@see TreeNodeInterface} marker: without it the generic insert gate in {@see \App\Core\Traits\Api\Models\Managers\SaveTrait} did not run and a new region stayed at `lft=0, rgt=0`. The region manager, service, mapper and repository have the tree traits, so the gate has something to call.
On this page

Search results