public static function setValue($entity, $field, $value)
    {
        $entity->{'set' . ucfirst(Str::camel($field))}($value);
    }
public static function setValue($entity, $field, $value)
    {
        $entity->{'set' . ucfirst(Str::camel($field))}($value);
    }
public static function setValue ( $ entity , $ field , $ value ) { $ entity -> { 'set' . ucfirst ( Str :: camel ( $ field ) ) } ( $ value ) ; }
Calls a setter in the entity with the specified value

@param object $entity
@param string $field
@param mixed $value
@return void
Calls a setter in the entity with the specified value