Refactor GroupResource to use a static property for navigation icon; add method documentation for name attribute in Group model.

This commit is contained in:
2025-08-31 18:51:46 +05:00
parent 3e58524af7
commit f9f4c476ce
20 changed files with 547 additions and 5 deletions

View File

@@ -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(