It's annoying the way inheriting traits in #PHP doesn't confer parentage.
trait A which has
function X() which is re-implemented in
B can't call
parent::X(); you have to alias it in the
use statement and call the alias... or else split off the functionality you want them both to have in common into a separate function, and call that from each version of
(The latter technique is kind of good, in a way, since it forces you to be more descriptive and compartmental in your functions... but then why not make class inheritance work the same way?)
#softwareGripe (albeit minor)
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!