mirror of
https://github.com/Oreolek/yii2-nested-sets.git
synced 2024-07-01 05:55:00 +03:00
27 lines
515 B
PHP
27 lines
515 B
PHP
<?php
|
|
/**
|
|
* @link https://github.com/creocoder/yii2-nested-sets-behavior
|
|
* @copyright Copyright (c) 2015 Alexander Kochetov
|
|
* @license http://opensource.org/licenses/BSD-3-Clause
|
|
*/
|
|
|
|
namespace tests\models;
|
|
|
|
use creocoder\nestedsets\NestedSetsQueryBehavior;
|
|
|
|
/**
|
|
* MultipleRootsTreeQuery
|
|
*/
|
|
class MultipleRootsTreeQuery extends \yii\db\ActiveQuery
|
|
{
|
|
/**
|
|
* @inheritdoc
|
|
*/
|
|
public function behaviors()
|
|
{
|
|
return [
|
|
NestedSetsQueryBehavior::className(),
|
|
];
|
|
}
|
|
}
|