private function getNodeValues($model)
    {
        $attribute = "{$this->name}_uc_first";
        return [
            'id'        => $model->id,
            'parent'    => $model->parent_id,
            'name'      => $model->$attribute,
            'level'     => $model->depth,
            'type'      => $model->isLeaf() ? 'file' : 'folder'
        ];
    }
private function getNodeValues($model)
    {
        $attribute = "{$this->name}_uc_first";
        return [
            'id'        => $model->id,
            'parent'    => $model->parent_id,
            'name'      => $model->$attribute,
            'level'     => $model->depth,
            'type'      => $model->isLeaf() ? 'file' : 'folder'
        ];
    }
private function getNodeValues ( $ model ) { $ attribute = "{$this->name}_uc_first" ; return [ 'id' => $ model -> id , 'parent' => $ model -> parent_id , 'name' => $ model -> $ attribute , 'level' => $ model -> depth , 'type' => $ model -> isLeaf ( ) ? 'file' : 'folder' ] ; }
get node values for return data

@param \Illuminate\Database\Eloquent\Model $model
@return array
get node values for return data