original_string: public function juggleAttributes()
      {
          // Iterate the juggable fields, and if the field is present
          // cast the attribute and replace within the attributes array.
          foreach ($this->getJugglable() as $attribute => $type) {
              if (isset($this->attributes[$attribute])) {
                  $this->juggleAttribute($attribute, $this->attributes[$attribute]);
              }
          }
      }
code: public function juggleAttributes()
      {
          // Iterate the juggable fields, and if the field is present
          // cast the attribute and replace within the attributes array.
          foreach ($this->getJugglable() as $attribute => $type) {
              if (isset($this->attributes[$attribute])) {
                  $this->juggleAttribute($attribute, $this->attributes[$attribute]);
              }
          }
      }
code_tokens: public function juggleAttributes ( ) { // Iterate the juggable fields, and if the field is present // cast the attribute and replace within the attributes array. foreach ( $ this -> getJugglable ( ) as $ attribute => $ type ) { if ( isset ( $ this -> attributes [ $ attribute ] ) ) { $ this -> juggleAttribute ( $ attribute , $ this -> attributes [ $ attribute ] ) ; } } }
docstring: Juggles all attributes that are configured to be juggled.
docstring_tokens: Juggles all attributes that are configured to be juggled .