diff --git a/src/Checks/PlausiForLegalStatus/MDPlausiForLegalStatus.php b/src/Checks/PlausiForLegalStatus/MDPlausiForLegalStatus.php index 192a6fc..0b8da27 100644 --- a/src/Checks/PlausiForLegalStatus/MDPlausiForLegalStatus.php +++ b/src/Checks/PlausiForLegalStatus/MDPlausiForLegalStatus.php @@ -15,13 +15,13 @@ final class MDPlausiForLegalStatus { // Mexico has the longest period, under which creators and their // 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 // cinematographic shall be protected for at least 50 years after the // author's death, but parties are free to provide longer terms" // - 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 */ private array $_events; @@ -197,6 +197,17 @@ final class MDPlausiForLegalStatus { } + /** + * Getter for events. + * + * @return array + */ + public function getEvents():array { + + return $this->_events; + + } + /** * Evaluates an object's representations' legal / licensing status based on * the expected values.