FormatterInterface
last analyzed

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
format() 0 1 ?
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Location\Formatter\Polyline;
6
7
use Location\Polyline;
8
9
/**
10
 * Polyline Formatter Interface
11
 *
12
 * @author Richard Barnes <[email protected]>
13
 */
14
interface FormatterInterface
15
{
16
    /**
17
     * @param Polyline $polyline
18
     *
19
     * @return string
20
     */
21
    public function format(Polyline $polyline): string;
22
}
23