protected function addProtectedAttributesToArray(array $attributes)
    {
        if ($this->protectedView) {
            foreach ($this->getProtectable() as $key) {
                if (isset($attributes[$key])) {
                    $attributes[$key] = $this->protectionMask;
                }
            }
        }

        return $attributes;
    }