PHP OO fixing private/protected