/**
  * setOptions
  *
  * Set the adapter chain options.
  *
  * @param  array  $options  The adapters configuration options.
  *
  * @return $this
  */
 public function setOptions(array $options = [])
 {
     if (isset($options['identity'])) {
         $this->setIdentity($options['identity']);
         unset($options['identity']);
     }
     if (isset($options['credential'])) {
         $this->setCredential($options['credential']);
         unset($options['credential']);
     }
     if (isset($options['password_strategy'])) {
         $this->setPasswordStrategy($options['password_strategy']);
         unset($options['password_strategy']);
     }
     parent::setOptions($options);
     return $this;
 }