public function getValidator() {
    if (!isset($this->validator)) {
      $this->validator = new ArgsValidator($this->arguments_spec, $this->parsed_args);
    }
    return $this->validator;
  }
public function getValidator() {
    if (!isset($this->validator)) {
      $this->validator = new ArgsValidator($this->arguments_spec, $this->parsed_args);
    }
    return $this->validator;
  }
public function getValidator ( ) { if ( ! isset ( $ this -> validator ) ) { $ this -> validator = new ArgsValidator ( $ this -> arguments_spec , $ this -> parsed_args ) ; } return $ this -> validator ; }
get the validator for these values

@return ArgsValidator the validator
get the validator for these values