a way to have getters/setters in php objects