Add getter for MDPlausiForLegalStatus->_events
This commit is contained in:
parent
0d9feaed19
commit
e130984108
|
@ -15,13 +15,13 @@ final class MDPlausiForLegalStatus {
|
||||||
|
|
||||||
// Mexico has the longest period, under which creators and their
|
// Mexico has the longest period, under which creators and their
|
||||||
// kin have rights to a work. Death + 100 years.
|
// kin have rights to a work. Death + 100 years.
|
||||||
const YEARS_AFTER_DEATH_TO_PUBLIC_DOMAIN = 100;
|
public const YEARS_AFTER_DEATH_TO_PUBLIC_DOMAIN = 100;
|
||||||
|
|
||||||
// "The Berne Convention states that all works except photographic and
|
// "The Berne Convention states that all works except photographic and
|
||||||
// cinematographic shall be protected for at least 50 years after the
|
// cinematographic shall be protected for at least 50 years after the
|
||||||
// author's death, but parties are free to provide longer terms"
|
// author's death, but parties are free to provide longer terms"
|
||||||
// - https://en.wikipedia.org/wiki/Berne_Convention
|
// - https://en.wikipedia.org/wiki/Berne_Convention
|
||||||
const YEARS_AFTER_DEATH_TO_PUBLIC_DOMAIN_CERTAIN = 50;
|
public const YEARS_AFTER_DEATH_TO_PUBLIC_DOMAIN_CERTAIN = 50;
|
||||||
|
|
||||||
/** @var array<MDPlausiEvent> */
|
/** @var array<MDPlausiEvent> */
|
||||||
private array $_events;
|
private array $_events;
|
||||||
|
@ -197,6 +197,17 @@ final class MDPlausiForLegalStatus {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Getter for events.
|
||||||
|
*
|
||||||
|
* @return array<MDPlausiEvent>
|
||||||
|
*/
|
||||||
|
public function getEvents():array {
|
||||||
|
|
||||||
|
return $this->_events;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Evaluates an object's representations' legal / licensing status based on
|
* Evaluates an object's representations' legal / licensing status based on
|
||||||
* the expected values.
|
* the expected values.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user