Fix deprecated function calls
Many mixed CakePHP functions (getter and setter in one) which are marked as deprecated were replaced by their respective explicit getters and setters to ease the migration to CakePHP 4 in the future.
Many mixed CakePHP functions (getter and setter in one) which are marked as deprecated were replaced by their respective explicit getters and setters to ease the migration to CakePHP 4 in the future.