| 1 | <?php  | 
            ||
| 20 | class EventMapper implements PersistedMappableAspectInterface, StaticMappableAspectInterface  | 
            ||
| 21 | { | 
            ||
| 22 | use SiteLanguageAwareTrait;  | 
            ||
| 23 | |||
| 24 | /**  | 
            ||
| 25 | * @param string $value  | 
            ||
| 26 | *  | 
            ||
| 27 | * @return string|null  | 
            ||
| 28 | */  | 
            ||
| 29 | public function generate(string $value): ?string  | 
            ||
| 36 | |||
| 37 | /**  | 
            ||
| 38 | * @param string $value  | 
            ||
| 39 | *  | 
            ||
| 40 | * @throws \Exception  | 
            ||
| 41 | *  | 
            ||
| 42 | * @return string|null  | 
            ||
| 43 | */  | 
            ||
| 44 | public function resolve(string $value): ?string  | 
            ||
| 55 | }  | 
            ||
| 56 |