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

Update ORM Heap Cleaning Default Behavior #37

Merged
merged 2 commits into from
Jan 19, 2024
Merged

Update ORM Heap Cleaning Default Behavior #37

merged 2 commits into from
Jan 19, 2024

Commits on Jan 18, 2024

  1. 1. Update ORM Heap Cleaning Default Behavior

    - Altered default setting to disable ORM heap cleaning automatically.
    - To enable heap cleaning after entity creation, set the `$cleanHeap` argument to `true`. Examples:
      $factory->create(cleanHeap: true);
      $factory->createOne(cleanHeap: true);
    - To modify this behavior globally, use `AbstractFactory::$cleanHeap = true`.
    
    2. Enhanced PHPDoc Annotations for Factory
    
    - Enhanced state management with new types `TState`, `TEntityState`, and `TCallback` for more precise typing in factory methods.
    - Refined method signatures and PHPDoc for `raw`, `object`, `applyEntityState`, and `callAfterCreating` methods for better type hinting and clarity.
    butschster committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    44135d9 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2024

  1. fix

    butschster committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    cad6c57 View commit details
    Browse the repository at this point in the history