在 PHP 和 Laravel 中使用 Traits的方法