Changed private declarations to protected in CartListener.php

Changed private declarations to protected so it is easily extendable.