我正在使用很棒的laravel spatie活动日志包。 我们可以这样设置logAttributes
protected static $logAttributes = ['name', 'age', 'birth', 'email'];
是否可以使用logAttributes作为别名?
因此,如果能够像这样工作,那就太完美了。
protected static $logAttributes = ['name as Name', 'age as Age', 'birth as Birthday', 'email as Email Address'];
有没有更好的解决方案或替代方法?