Skip to content

Commit d98d817

Browse files
committed
Fixtures fixes
1 parent 2e6f7ad commit d98d817

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/Fixture/CwaFixtureBuilder.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,13 @@ public function pageData(
157157
return $builder;
158158
}
159159

160+
public function persist(object $entity): static
161+
{
162+
$this->manager->persist($entity);
163+
164+
return $this;
165+
}
166+
160167
public function getRoute(string $routeName): Route
161168
{
162169
if (!isset($this->namedRoutes[$routeName])) {

0 commit comments

Comments
 (0)