original_string: public function attributesToArray()
      {
          $attributes = parent::attributesToArray();
  
          foreach ($attributes as $key => $value) {
              if ($this->valid($key, $value)) {
                  $attributes[$key] = decrypt($value);
              }
          }
  
          return $attributes;
      }
code: public function attributesToArray()
      {
          $attributes = parent::attributesToArray();
  
          foreach ($attributes as $key => $value) {
              if ($this->valid($key, $value)) {
                  $attributes[$key] = decrypt($value);
              }
          }
  
          return $attributes;
      }
code_tokens: public function attributesToArray ( ) { $ attributes = parent :: attributesToArray ( ) ; foreach ( $ attributes as $ key => $ value ) { if ( $ this -> valid ( $ key , $ value ) ) { $ attributes [ $ key ] = decrypt ( $ value ) ; } } return $ attributes ; }
docstring: Decrypt given attributes
  
  @return mixed
docstring_tokens: Decrypt given attributes