$body->clone()
Creates a new instance while merging initial and new properties
Deprecated
in 4.0.0
Parameters
Name | Type | Default |
---|---|---|
$props | array |
[ ] |
Return type
This method does not modify the existing $body
object but returns a new object with the changes applied. Learn more →