Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Developer654079525's avatar

The with modifier

Can a with member function invoke multiple Model's relations, as in: $result = Model::with('fn1, fn2')->get(); If not, then how to invoke the model's data with all the relationships present?

0 likes
2 replies

Please or to participate in this conversation.