Laravel Classes That Support Macros
This table lists framework classes that directly implement the __call method and indicates if they support macros. It does not include classes that implement __callStatic. The Illuminate\Cache\Repository and Illuminate\Database\Eloquent\Builder classes support macros. Though the Builder class does not use the Macroable trait, it provides methods for adding and retrieving macros.