[TASK] Use getters on PHP 5.2