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