Completed
Push — SOLID ( 411fa2...c3623c )
by Wouter
02:17
created

Converter::htmlToMarkdown()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 13
Code Lines 8

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 8
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 13
ccs 8
cts 8
cp 1
rs 9.4285
cc 1
eloc 8
nc 1
nop 1
crap 1
1
<?php
2
3
namespace Sioen\HtmlToJson;
4
5
interface Converter
6
{
7
    /**
8
     * @param \DomElement $node
9
     * @return array
10
     */
11
    public function toJson(\DOMElement $node);
12
13
    /**
14
     * @param \DomElement $node
15
     * @return boolean
16
     */
17
    public function matches(\DOMElement $node);
18
}
19