Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

Commit 152f229

Browse files
committed
Made Session::pageViews extra lazy
1 parent 9561746 commit 152f229

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Entity/Session.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Session
3434
/**
3535
* @var Collection|PageView[]
3636
*
37-
* @ORM\OneToMany(targetEntity="PageView", mappedBy="session", cascade={"persist"})
37+
* @ORM\OneToMany(targetEntity="PageView", mappedBy="session", cascade={"persist"}, fetch="EXTRA_LAZY")
3838
*/
3939
protected $pageViews;
4040

0 commit comments

Comments
 (0)