QueryBuilder::assets()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 6
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace leandrogehlen\querybuilder;
4
5
/**
6
 * QueryBuilder renders a jQuery QueryBuilder component.
7
 *
8
 * @see http://mistic100.github.io/jQuery-QueryBuilder/
9
 * @author Leandro Gehlen <[email protected]>
10
 */
11
class QueryBuilder extends \soluto\plugin\Widget {
12
13
    /**
14
     * @inheridoc
15
     */
16
    public $pluginName = 'queryBuilder';
17
18
    /**
19
     * @inheritdoc
20
     */
21
    protected function assets()
22
    {
23
        return [
24
            QueryBuilderAsset::className()
0 ignored issues
show
Deprecated Code introduced by
The method yii\base\BaseObject::className() has been deprecated with message: since 2.0.14. On PHP >=5.5, use `::class` instead.

This method has been deprecated. The supplier of the class has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the method will be removed from the class and what other method or class to use instead.

Loading history...
25
        ];
26
    }
27
28
}
29