getClassName(); } public function getModelClass(): string { return Model::class; } public function getEntityClass(): string { return Entity::class; } public function getMKList(mixed $zone = null): array { if ($zone !== null) { $this->getModel()->setWhere(['zone' => $zone]); } $this->getModel()->orderBy(['zone' => 'asc', 'parents' => 'asc', 'child' => 'asc']); return $this->getEntities(); } }