[ticket/12990] Use protected instead of private

PHPBB3-12990