Widget   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
eloc 1
c 1
b 1
f 0
dl 0
loc 19
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A toHtml() 0 2 1
A render() 0 2 1
1
<?php
2
3
namespace Imanghafoori\Widgets;
4
5
use Illuminate\Contracts\Support\Htmlable;
6
use Illuminate\Contracts\Support\Renderable;
7
8
class Widget implements Renderable, Htmlable
9
{
10
    /**
11
     * Get content as a string of HTML.
12
     *
13
     * @return string
14
     */
15
    public function toHtml()
16
    {
17
        // TODO: Implement toHtml() method.
18
    }
19
20
    /**
21
     * Get the evaluated contents of the object.
22
     *
23
     * @return string
24
     */
25
    public function render()
26
    {
27
    }
28
}
29