Passed
Push — main ( 6bf038...55787e )
by Aleksandr
08:10
created

AbstractBase64Response   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 15
ccs 2
cts 2
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getBase64() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace DalliSDK\Responses;
6
7
use JMS\Serializer\Annotation as JMS;
8
9
abstract class AbstractBase64Response implements ResponseInterface
10
{
11
    /**
12
     * обычно PDF закодированный в base64
13
     *
14
     * @JMS\Type("string")
15
     */
16
    private string $base64;
17
18
    /**
19
     * @return string
20
     */
21 2
    public function getBase64(): string
22
    {
23 2
        return $this->base64;
24
    }
25
}
26