hasMany(Simple::class); } /** * @comment MorphTo relations. * @return MorphTo */ public function relationMorphTo(): MorphTo { return $this->morphTo(); } /** * @comment Others relations. * @return HasOne */ public function relationHasOne(): HasOne { return $this->hasOne(Simple::class); } /** * @comment I'm a setter */ public function setBothSameNameAttribute(): void { } /** * @comment I'm a getter * @return string */ public function getBothSameNameAttribute(): string { } /** * @comment I'm a setter */ public function setBothWithoutGetterCommentAttribute(): void { } /** * @return string */ public function getBothWithoutGetterCommentAttribute(): string { } }