Yes you will want to create a custom ViewServiceProvider that extends laravel's service provider,
then copy and paste the register method from laravels to yours, followed by creating your own CompilerEngine class.
Within your service provider add use "your/namespace/CompilerEngine"
Then within your CompilerEngine class extend the original and rewrite the method in question.
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us