ConverterInterface
last analyzed

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 13
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
convertToHtml() 0 1 ?
1
<?php
2
3
/*
4
 * This file is part of the league/commonmark package.
5
 *
6
 * (c) Colin O'Dell <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace League\CommonMark;
13
14
/**
15
 * Interface for a service which converts CommonMark to HTML.
16
 */
17
interface ConverterInterface
18
{
19
    /**
20
     * Converts CommonMark to HTML.
21
     *
22
     * @param string $commonMark
23
     *
24
     * @return string HTML
25
     *
26
     * @api
27
     */
28
    public function convertToHtml(string $commonMark): string;
29
}
30