$different1 = false; public bool $different2; public bool $different3; } class PropertiesExample { use PropertiesTrait; public $same = true; public $different1 = true; public string $different2; readonly protected bool $different3; }
of model that doesn’t seem part of its essence (what is and isn’t in the essence of a model is a fuzzy line and a longer discussion) without going full-bore Single Responsibility Principle and running the risk of ballooning your object inventory. David Heinemeier Hansson『Put chubby models on a diet with concerns』 https://signalvnoise.com/posts/3372-put-chubby-models-on-a-diet-with-concerns