Completed
Push — master ( d6bb8e...21b718 )
by Oleg
05:17
created

TopblogsWidget   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A init() 0 3 1
A run() 0 5 1
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($this->container);
27
        echo $v;
28
    }
29
}
30