Refactor GroupResource to use a static property for navigation icon; add method documentation for name attribute in Group model.
This commit is contained in:
@@ -28,6 +28,11 @@ class Group extends Model
|
||||
'end_date' => 'date',
|
||||
];
|
||||
|
||||
/**
|
||||
* Get the name of the group
|
||||
*
|
||||
* @return Attribute
|
||||
* */
|
||||
public function name(): Attribute
|
||||
{
|
||||
return Attribute::make(
|
||||
|
||||
Reference in New Issue
Block a user