Make PHP properties easily and automatically by providing magic methods (_get, _set, _unset, and _unset) that look for accessor methods with names matching a given pattern. Want to have a property name that is readable and writable? Add the methods getName() and setName() to your class. If you’d like it to be read only, supply [...]
↧