1 | <?php declare(strict_types=1); |
||
39 | class MediaRestriction implements MediaRestrictionInterface |
||
40 | { |
||
41 | |||
42 | /** |
||
43 | * @var string |
||
44 | */ |
||
45 | protected $content; |
||
46 | |||
47 | /** |
||
48 | * @var int |
||
49 | */ |
||
50 | protected $type; |
||
51 | |||
52 | /** |
||
53 | * @var int |
||
54 | */ |
||
55 | protected $relationship; |
||
56 | |||
57 | |||
58 | /** |
||
59 | * @return string |
||
60 | */ |
||
61 | 2 | public function getContent() : ?string |
|
65 | |||
66 | /** |
||
67 | * @param string $content |
||
68 | * @return MediaRestrictionInterface |
||
69 | */ |
||
70 | 2 | public function setContent(?string $content) : MediaRestrictionInterface |
|
76 | |||
77 | |||
78 | /** |
||
79 | * @return int |
||
80 | */ |
||
81 | 2 | public function getType() : ?int |
|
85 | |||
86 | /** |
||
87 | * @param int $type |
||
88 | * @return MediaRestrictionInterface |
||
89 | */ |
||
90 | 2 | public function setType(?int $type) : MediaRestrictionInterface |
|
96 | |||
97 | /** |
||
98 | * @return int |
||
99 | */ |
||
100 | 2 | public function getRelationship() : ?int |
|
104 | |||
105 | /** |
||
106 | * @param int $relationship |
||
107 | * @return MediaRestrictionInterface |
||
108 | */ |
||
109 | 2 | public function setRelationship(?int $relationship) : MediaRestrictionInterface |
|
115 | } |
||
116 |