mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 01:57:13 +00:00
* x to Many relationships are detected via a `Many` keyword in the relationship object class name * reason: example: `belongsTo` was incorrectly recognized as `belongsToMany` * adds `@property-read int|null $x2Many_relationship_method_name_count` model class docBlock comment * when model makes use of `withCount` or `loadCount` there is a property on the resource `$instance->relationship_method_count` that states the count of related models * can be `NULL` when `withCount` or `loadCount` aren't used