plugin
plugin copied to clipboard
[Feature Request]: Change visibility for relationships when creating Models
Feature Description
Whenever i create a model and implent a new relationship, all methods get set to 'protected'. Like this:
protected function teacher(): BelongsTo { return $this->belongsTo( Teacher::class ); }
I cannot find where to change this so it will always be set to public. Can someone point me in the right direction or implement this in a feature update?