Skip to main content

refresh_fields

Function refresh_fields 

Source
pub fn refresh_fields(source: &str, body: &str) -> Option<String>
Expand description

Replace the body between the field markers, preserving everything else.

Only the region between the markers is touched, so hand-written rules and overrides outside it survive a resync. This is the piece Laravel’s stub generators never had.