plugin icon indicating copy to clipboard operation
plugin copied to clipboard

[Feature Request]: Change visibility for relationships when creating Models

Open el-klo opened this issue 1 year ago • 0 comments

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?

el-klo avatar Mar 29 '24 13:03 el-klo