preventLazyLoading

This commit is contained in:
Benjamin Takats
2023-01-19 14:00:08 +01:00
parent ed8ddf9464
commit b7a728a122

View File

@@ -30,7 +30,7 @@ class AppServiceProvider extends ServiceProvider
*/ */
public function boot() public function boot()
{ {
Model::preventLazyLoading(); //Model::preventLazyLoading();
Stringable::macro('initials', function () { Stringable::macro('initials', function () {
$words = preg_split("/\s+/", $this); $words = preg_split("/\s+/", $this);