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

MediaDynamicUrlMessage   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 34
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 2
dl 0
loc 34
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getFormat() 0 4 1
A setFormat() 0 4 1
A build() 0 4 1
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