original_string: protected function setDynamicEncryptable($attribute, $value)
      {
          // Dynamically set the encryptable attribute
          if ($this->isEncryptable($attribute)) {
              // Encrypt only decrypted values
              if ($this->isDecrypted($attribute)) {
                  $this->setEncryptingAttribute($attribute, $value);
  
                  return true;
              }
          }
  
          return false;
      }
code: protected function setDynamicEncryptable($attribute, $value)
      {
          // Dynamically set the encryptable attribute
          if ($this->isEncryptable($attribute)) {
              // Encrypt only decrypted values
              if ($this->isDecrypted($attribute)) {
                  $this->setEncryptingAttribute($attribute, $value);
  
                  return true;
              }
          }
  
          return false;
      }
code_tokens: protected function setDynamicEncryptable ( $ attribute , $ value ) { // Dynamically set the encryptable attribute if ( $ this -> isEncryptable ( $ attribute ) ) { // Encrypt only decrypted values if ( $ this -> isDecrypted ( $ attribute ) ) { $ this -> setEncryptingAttribute ( $ attribute , $ value ) ; return true ; } } return false ; }
docstring: Set an encryptable attribute dynamically.
  
  @param string $attribute
  @param mixed  $value
  
  @return bool
docstring_tokens: Set an encryptable attribute dynamically .