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]);
            }
        }
    }
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]);
            }
        }
    }
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 ] ) ; } } }
Juggles all attributes that are configured to be juggled.
Juggles all attributes that are configured to be juggled .