Concept Flow - Method chaining patterns
Start with object
Call method1
method1 returns self or new object
Call method2 on returned object
method2 returns self or new object
Call method3 on returned object
Final result or object returned
Method chaining calls multiple methods one after another on the same object or returned objects, each returning self or a new object to continue the chain.