Converter
last analyzed

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 14

2 Methods

Rating   Name   Duplication   Size   Complexity  
toHtml() 0 1 ?
matches() 0 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