Effects of method chaining
问题 I know the benefits of chaining within PHP but lets say we have this following situation $Mail = new MailClass("mail") ->SetFrom("X") ->SetTo("X") ->SetSubject("X") ->AddRecipient("X") ->AddRecipient("X") ->AddRecipient("X") ->AddRecipient("X") ->AddRecipient("X") ->AddRecipient("X") ->Send(); Are there any issues with returning and reusing the object over and over again, issues such as speed or failure to follow best Practises Also a good read on this if your new to Fluent-Interface's: