public function encryptAttributes()
    {
        foreach ($this->getEncryptable() as $attribute) {
            $this->setEncryptingAttribute($attribute, array_get($this->attributes, $attribute));
        }
    }
public function encryptAttributes()
    {
        foreach ($this->getEncryptable() as $attribute) {
            $this->setEncryptingAttribute($attribute, array_get($this->attributes, $attribute));
        }
    }
public function encryptAttributes ( ) { foreach ( $ this -> getEncryptable ( ) as $ attribute ) { $ this -> setEncryptingAttribute ( $ attribute , array_get ( $ this -> attributes , $ attribute ) ) ; } }
Encrypt attributes that should be encrypted.
Encrypt attributes that should be encrypted .