Completed
Push — master ( 94d3aa...1e9c69 )
by Iman
05:12
created

Widget   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 20
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A toHtml() 0 2 1
A render() 0 3 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
        return ;
28
    }
29
}