Skip to content

Commit 2cf7f09

Browse files
Stephan Wentzpl-github
authored andcommitted
fix: Allow changing of value owner factory value for easier tests
1 parent 92d781c commit 2cf7f09

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/Owner/ValueOwnerFactory.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,9 @@ public function createOwner(): OwnerInterface
2626
{
2727
return new Owner($this->value);
2828
}
29+
30+
public function setValue(string $value): void
31+
{
32+
$this->value = $value;
33+
}
2934
}

0 commit comments

Comments
 (0)