CustomizationΒΆ
You can customize the default things in your classes created by the ClosureTable artisan command:
- Entity table name: change protected $table property
- Closure table name: do the same in your ClosureTable (e.g. PageClosure)
- Entity’s ``parent_id``, ``position``, and ``real depth`` column names: change return values of getParentIdColumn(), getPositionColumn(), and getRealDepthColumn() respectively
- Closure table’s ``ancestor``, ``descendant``, and ``depth`` columns names: change return values of getAncestorColumn(), getDescendantColumn(), and getDepthColumn() respectively.