public function hashAttributes() { foreach ($this->getHashable() as $attribute) { $this->setHashingAttribute($attribute, $this->getAttribute($attribute)); } }