Completed
Push — master ( 7b2295...f28f63 )
by Askupa
02:10
created

Popup::render()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 4
nc 1
nop 0
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
1
<?php
2
3
namespace Amarkal\Shortcode;
4
5
class Popup
6
{
7
    private $fields = array();
8
    
9
    public function __construct($fields) 
10
    {
11
        $this->fields = $fields;
12
    }
13
    
14
    public function render()
15
    {
16
        ob_start();
17
        include 'Popup.phtml';
18
        return ob_get_clean();
19
    }
20
}