simonhamp,
@simonhamp@phpc.social avatar

@dantleech @Crell @cabbey I guess that’s an even more common example

I guess the approach to that though would be to make your interface require an explicit toString method that you must implement in your enum

But maybe there's also case for an RFC to add __toString() support to enums?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • php
  • DreamBathrooms
  • magazineikmin
  • ethstaker
  • InstantRegret
  • tacticalgear
  • rosin
  • love
  • Youngstown
  • slotface
  • ngwrru68w68
  • kavyap
  • cubers
  • thenastyranch
  • mdbf
  • provamag3
  • modclub
  • GTA5RPClips
  • normalnudes
  • khanakhh
  • everett
  • cisconetworking
  • osvaldo12
  • anitta
  • Leos
  • Durango
  • tester
  • megavids
  • JUstTest
  • All magazines