Passed
Push — develop ( 8c6599...c9bdac )
by Stan
04:29
created

Metric   A

Complexity

Total Complexity 11

Size/Duplication

Total Lines 111
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 111
ccs 22
cts 22
cp 1
rs 10
c 0
b 0
f 0
wmc 11
1
<?php
2
3
namespace Krenor\Prometheus\Contracts;
4
5
use Tightenco\Collect\Support\Collection;
6
7
interface Metric
8
{
9
    /**
10
     * @return string
11
     */
12
    public function key(): string;
13
14
    /**
15
     * @return string
16
     */
17
    public function type(): string;
18
19
    /**
20
     * @return string
21
     */
22
    public function namespace(): string;
23
24
    /**
25
     * @return string
26
     */
27
    public function name(): string;
28
29
    /**
30
     * @return string
31
     */
32
    public function description(): string;
33
34
    /**
35
     * @return Collection
36
     */
37
    public function labels(): Collection;
38
39
    /**
40
     * @return Storage
41
     */
42
    public static function storage(): Storage;
43
}
44