Converter::toHtml()
last analyzed

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 1
1
<?php
2
3
namespace Sioen\JsonToHtml;
4
5
interface Converter
6
{
7
    /**
8
     * @param array $data
9
     * @return string
10
     */
11
    public function toHtml(array $data);
12
13
    /**
14
     * @param string $type
15
     * @return bool
16
     */
17
    public function matches($type);
18
}
19