public function juggleAttribute($attribute, $value)
    {
        $type = $this->getJuggleType($attribute);
        $this->attributes[$attribute] = $this->juggle($value, $type);
    }
public function juggleAttribute($attribute, $value)
    {
        $type = $this->getJuggleType($attribute);
        $this->attributes[$attribute] = $this->juggle($value, $type);
    }
public function juggleAttribute ( $ attribute , $ value ) { $ type = $ this -> getJuggleType ( $ attribute ) ; $ this -> attributes [ $ attribute ] = $ this -> juggle ( $ value , $ type ) ; }
Casts a value to the coresponding attribute type and sets
it on the attributes array of this model.

@param string $attribute
@param string $value
Casts a value to the coresponding attribute type and sets it on the attributes array of this model .