immutableProperties

The immutableProperties method returns an array with all the public properties that are immutable.

$productImmutableProperties = Product::immutableProperties();

// WILL RETURN
[
    'name',
]

Last updated