Nestable\NestableTrait::nested PHP Метод

nested() публичный статический Метод

Set the nest type.
public static nested ( integer $to = 1 ) : object
$to integer
Результат object
    public static function nested($to = 1)
    {
        static::$to = $to;
        static::$nested = is_numeric($to) ? $to : false;
        return new self();
    }