src/FormObject/Support/LegacyFormObject/Validation/AutoValidatorBroker.php
public function setValidator($validator)
    {
        $this->callBeforeListeners('setValidator', [$validator]);
        $this->validator = $validator;
        $this->callAfterListeners('setValidator', [$validator]);
    }
public function setValidator($validator)
    {
        $this->callBeforeListeners('setValidator', [$validator]);
        $this->validator = $validator;
        $this->callAfterListeners('setValidator', [$validator]);
    }
public function setValidator ( $ validator ) { $ this -> callBeforeListeners ( 'setValidator' , [ $ validator ] ) ; $ this -> validator = $ validator ; $ this -> callAfterListeners ( 'setValidator' , [ $ validator ] ) ; }
Set a validator of any type, the broker has to care about it

@param mixed $validator
@return void
Set a validator of any type the broker has to care about it