public function getTree($includeSelf = true, $includeParents = false)
    {
        return call_user_func("$this->ownerClassName::find")
            ->where([
                $this->primaryKey => $this->getTreeIds($includeSelf, $includeParents),
            ])
            ->orderBy([
                "$this->tableName.$this->parentIdField" => SORT_ASC,
                "$this->tableName.$this->sortField" => SORT_ASC,
                "$this->tableName.$this->primaryKey" => SORT_ASC,
            ]);
    }