Using some lazy PHP reflection instead of duplicating code across classes

3 liner ftw :)