Trait Salient\Core\Concern\HasWritableProperties

Implements Writable

  • If _set<Property>() is defined, it is called instead of assigning $value to <Property>.
  • If _unset<Property>() is defined, it is called to unset <Property> instead of assigning null.
  • The existence of _set<Property>() makes <Property> writable, regardless of {@see Writable::getWritableProperties()}'s return value.
Methods