Use protected not private to allow extending classes

Created on 20 June 2017, about 7 years ago
Updated 15 April 2024, 2 months ago

Followup from the project application at #2875485: [D8] Compact date/time range formatter β†’

To allow other modules to extend classes, it is preferable to use protected rather than private local functions. An extending class will not have access to superclass private functions.

πŸ“Œ Task
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡³πŸ‡ΏNew Zealand John Pitcairn

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024