Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add (weakly referenced) local object DBAL type #1083

Merged
merged 6 commits into from
Jan 3, 2023

Conversation

mvorisek
Copy link
Member

The newly introduced atk4_local_object type allows to weakly reference a local PHP object.

This is usefull when you want to reference a local PHP object to be part of model data. It can be even persisted in non-local database, be part of transaction, ... and typecasted back to the same instance. But keep in mind the local object is weakly referenced and once released, it is gone forever.

Normally, you should not need this type and if you do, be sure you understand how it works.

@mvorisek mvorisek marked this pull request as ready for review December 30, 2022 16:56
@mvorisek mvorisek changed the title Add local (weakly referenced) object DBAL type Add (weakly referenced) local object DBAL type Jan 3, 2023
@mvorisek mvorisek added the MAJOR label Jan 3, 2023
@mvorisek mvorisek merged commit 24e5a96 into develop Jan 3, 2023
@mvorisek mvorisek deleted the add_local_object_type branch January 3, 2023 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant