Skip to content

Commit

Permalink
fix: Allow changing of value owner factory value for easier tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan Wentz authored and pl-github committed Mar 14, 2023
1 parent 92d781c commit 2cf7f09
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Owner/ValueOwnerFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,9 @@ public function createOwner(): OwnerInterface
{
return new Owner($this->value);
}

public function setValue(string $value): void
{
$this->value = $value;
}
}

0 comments on commit 2cf7f09

Please sign in to comment.