core/web/jsonld/EventTrait.php
public function setTranslator($translator)
    {
        ObjectHelper::isInstanceOf($translator, [Organization::class, PersonInterface::class]);
        
        $this->_translator = $translator;
        return $this;
    }
public function setTranslator($translator)
    {
        ObjectHelper::isInstanceOf($translator, [Organization::class, PersonInterface::class]);
        
        $this->_translator = $translator;
        return $this;
    }
public function setTranslator ( $ translator ) { ObjectHelper :: isInstanceOf ( $ translator , [ Organization :: class , PersonInterface :: class ] ) ; $ this -> _translator = $ translator ; return $ this ; }
Organization or person who adapts a creative work to different languages, regional differences
and technical requirements of a target market, or that translates during some event.

@param Organization|Person $translator
@return static
Organization or person who adapts a creative work to different languages regional differences and technical requirements of a target market or that translates during some event .