Completed
Push — master ( f95229...017b93 )
by Nikita
13:15
created

MediaDynamicUrlMessage::getFormat()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
declare(strict_types=1);
3
4
namespace Yproximite\Api\Message\Media;
5
6
use Yproximite\Api\Message\MessageInterface;
7
use Yproximite\Api\Message\SiteAwareMessageTrait;
8
use Yproximite\Api\Message\IdentityAwareMessageTrait;
9
10
/**
11
 * Class MediaDynamicUrlMessage
12
 */
13
class MediaDynamicUrlMessage implements MessageInterface
14
{
15
    use SiteAwareMessageTrait;
16
    use IdentityAwareMessageTrait;
17
18
    /**
19
     * @var string
20
     */
21
    private $format;
22
23
    /**
24
     * @return string
25
     */
26
    public function getFormat(): string
27
    {
28
        return $this->format;
29
    }
30
31
    /**
32
     * @param string $format
33
     */
34
    public function setFormat(string $format)
35
    {
36
        $this->format = $format;
37
    }
38
39
    /**
40
     * {@inheritdoc}
41
     */
42
    public function build()
43
    {
44
        return null;
45
    }
46
}
47