Closed ddxor closed 10 years ago
I have enabled chaining for setters because I was frustrated that I had to write every set line by line against the SagePay class variable. Being able to call $sagePay->setFoo(bar)->setBar(foo) etc saved me a lot of messy code.
I have enabled chaining for setters because I was frustrated that I had to write every set line by line against the SagePay class variable. Being able to call $sagePay->setFoo(bar)->setBar(foo) etc saved me a lot of messy code.