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

Add magic `*_exists` properties

Open joelstein opened this issue 8 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

  • [x] New feature (non-breaking change which adds functionality)
  • [x] This change requires a documentation update

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

joelstein avatar Feb 15 '25 13:02 joelstein