Support the ongoing development of Laravel.io →
Views Architecture
Last updated 1 year ago.
0

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.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.