I cant understand fluent interfaces

Posted 9 months ago by murilo

I saw this tutorial using Fluent Interfaces , it is very good and practical to organize codes - https://laracasts.com/series/whip-monstrous-code-into-shape/episodes/14

But I could not understand how fluent interfaces works .

Does some one can help me please ?

I wold like to do something like this ->

Foo::create()->setThing('thing');

Please sign in or create an account to participate in this conversation.