public function __construct(TestValueObject $value1, $value2) { $this->value1 = $value1; $this->value2 = trim($value2); }