@@ 45-59 (lines=15) @@ | ||
42 | */ |
|
43 | protected $language; |
|
44 | ||
45 | public function __construct( |
|
46 | UUID $id, |
|
47 | MIMEType $mimeType, |
|
48 | Description $description, |
|
49 | CopyrightHolder $copyrightHolder, |
|
50 | Url $sourceLocation, |
|
51 | Language $language |
|
52 | ) { |
|
53 | $this->mediaObjectId = $id; |
|
54 | $this->mimeType = $mimeType; |
|
55 | $this->description = $description; |
|
56 | $this->copyrightHolder = $copyrightHolder; |
|
57 | $this->sourceLocation = $sourceLocation; |
|
58 | $this->language = $language; |
|
59 | } |
|
60 | ||
61 | public function getLanguage(): Language |
|
62 | { |
@@ 44-58 (lines=15) @@ | ||
41 | */ |
|
42 | protected $language; |
|
43 | ||
44 | public function __construct( |
|
45 | UUID $id, |
|
46 | MIMEType $fileType, |
|
47 | StringLiteral $description, |
|
48 | StringLiteral $copyrightHolder, |
|
49 | Url $sourceLocation, |
|
50 | Language $language |
|
51 | ) { |
|
52 | $this->mediaObjectId = $id; |
|
53 | $this->mimeType = $fileType; |
|
54 | $this->description = $description; |
|
55 | $this->copyrightHolder = $copyrightHolder; |
|
56 | $this->sourceLocation = $sourceLocation; |
|
57 | $this->language = $language; |
|
58 | } |
|
59 | ||
60 | public function getLanguage(): Language |
|
61 | { |