TopblogsWidget::run()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
3
namespace App\Modules\Blog\Widgets;
4
5
use App\Components\View;
6
use Micro\Mvc\Widget;
7
8
/**
9
 * Class TopblogsWidget
10
 * @package App\Modules\Blog\Widgets
11
 */
12
class TopblogsWidget extends Widget
13
{
14
    /**
15
     *
16
     */
17
    public function init()
18
    {
19
    }
20
21
    /**
22
     *
23
     */
24
    public function run()
25
    {
26
        $v = new View();
27
        echo $v->render();
28
    }
29
}
30