protected function addDecryptedAttributesToArray(array $attributes)
    {
        if (!$this->encryptedView) {
            foreach ($this->getEncryptable() as $key) {
                if (!array_key_exists($key, $attributes)) {
                    continue;
                }

                if (!empty($attributes[$key])) {
                    $attributes[$key] = Crypt::decrypt($attributes[$key]);
                }
            }
        }

        return $attributes;
    }