laravel-ide-helper icon indicating copy to clipboard operation
laravel-ide-helper copied to clipboard

Add magic *_exists properties

Open erikn69 opened this issue 5 months ago • 0 comments

Summary

This adds *_exists model properties, similar to the *_count properties.

I also added a write_model_relation_exists_properties config to disable it.

Type of change

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [x] This change requires a documentation update
  • [ ] Misc. change (internal, infrastructure, maintenance, etc.)

Checklist

  • [x] Existing tests have been adapted and/or new tests have been added
  • [x] Update the README.md
  • [x] Code style has been fixed via composer fix-style

erikn69 avatar May 15 '25 15:05 erikn69