Support the ongoing development of →
Packages Architecture
Last updated 2 years ago.

Do something like this:

With your underlying ChainClass (that the facade references).

Here's the link to the laravel source for ->with():

As you can see, it's the same technique as the first link. Chainable methods return $this.

Here's the original ->make(), on the factory class:

It returns a new View instance.

Last updated 2 years ago.


Last updated 2 years ago.

Sign in to participate in this thread!


Your banner here too?

yuomtheara yuomtheara Joined 12 Feb 2014


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

Your logo here?

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

© 2024 - All rights reserved.