immutableProperties
The immutableProperties
method returns an array with all the public properties that are immutable.
$productImmutableProperties = Product::immutableProperties();
// WILL RETURN
[
'name',
]
Last updated
Was this helpful?
The immutableProperties
method returns an array with all the public properties that are immutable.
$productImmutableProperties = Product::immutableProperties();
// WILL RETURN
[
'name',
]
Last updated
Was this helpful?