/** * @inheritDoc */ public function behaviors() { return ArrayHelper::merge(parent::behaviors(), ['sort' => ['class' => SortQueryBehavior::class]]); }
/** * @inheritdoc */ public function behaviors() { return ArrayHelper::merge(parent::behaviors(), [NestedSetsQueryBehavior::className()]); }