Skip to content

Pass Persistence to their model closure factory only#1185

Merged
mvorisek merged 1 commit intodevelopfrom
reference_closure_unbound
Mar 15, 2024
Merged

Pass Persistence to their model closure factory only#1185
mvorisek merged 1 commit intodevelopfrom
reference_closure_unbound

Conversation

@mvorisek
Copy link
Copy Markdown
Member

needed for #926 to support their model to be created using Closure with cacheable fingerprint

in cases you need our model instance for some reasons, use static function () use ($m) { ... }

@mvorisek mvorisek marked this pull request as ready for review March 15, 2024 18:41
@mvorisek mvorisek merged commit f3d83e4 into develop Mar 15, 2024
@mvorisek mvorisek deleted the reference_closure_unbound branch March 15, 2024 18:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

1 participant