Answer the question
In order to leave comments, you need to log in
What methods can contain ValueObject?
In all primers, only
__toString, equals, getValue and that's all? For example, if I need to change the VO, the change?
class VOName{
public function change(string $value){
return new VOName($value);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question