tolzhabayev / sagepayForm-php

A simple class to integrate sagepayForm into your website
40 stars 26 forks source link

Enabled chaining #6

Closed ddxor closed 10 years ago

ddxor commented 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.