/**
  * @inheritdoc
  */
 public function behaviors()
 {
     return [array_merge(['class' => NestedSet::className()], $this->getNestedSetParams())];
 }
 /**
  * Configure extra behaviors
  *
  * @see \yii\base\Component::behaviors()
  */
 public function behaviors()
 {
     return ['nestedSet' => ['class' => NestedSet::className(), 'hasManyRoots' => TRUE]];
 }