code: protected function setDefaults($options)
      {
          $this->selector = empty($options['selector']) ? 'form' : $options['selector'];
          $this->view = empty($options['view']) ? 'jsvalidation::bootstrap' : $options['view'];
          $this->remote = isset($options['remote']) ? $options['remote'] : true;
      }
docs: Set default parameters.
  
  @param $options
  @return void