Completed
Push — master ( aac8c3...611134 )
by Leandro
04:31
created

QueryBuilder   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 18
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A assets() 0 6 1
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