Setter and Getter (SET/GET) is the most important and useful technique of programming. There are several way to do that, but the most effective and efficiency way is using PHP magic functions. Here I am gonna show you how to set and get through PHP magic method.