Total Complexity | 6 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
5 | class MediaRequestInput |
||
6 | { |
||
7 | private $value; |
||
8 | |||
9 | /** @var string */ |
||
10 | private $locale; |
||
11 | |||
12 | /** @var string */ |
||
13 | private $type; |
||
14 | |||
15 | /** @var array */ |
||
16 | private $metadata; |
||
17 | |||
18 | public function __construct($value, string $locale, string $type, array $metadata) |
||
24 | } |
||
25 | |||
26 | public function value() |
||
29 | } |
||
30 | |||
31 | public function locale(): string |
||
32 | { |
||
33 | return $this->locale; |
||
34 | } |
||
35 | |||
36 | public function type(): string |
||
39 | } |
||
40 | |||
41 | public function metadata($key = null) |
||
44 | } |
||
45 | } |
||
46 |