brandenburg icon indicating copy to clipboard operation
brandenburg copied to clipboard

Is it possible to make Role::class extensible?

Open wolkodlack opened this issue 7 years ago • 1 comments

It would be useful to make Role class extensible. By adding it to config file in the same way as it was done for User model.

'userModel' => env('USER_MODEL', 'App\User'),
'roleModel' => env('ROLE_MODEL', 'Silvanite\Brandenburg\Role'),

At the moment it's impossible to extend your class functionality.

wolkodlack avatar Dec 20 '18 19:12 wolkodlack

Hi @wolkodlack. Thanks for raising this. Sure that could be implemented. Happy for someone to PR this but will also add it to my list.

m2de avatar Dec 21 '18 09:12 m2de