heiglandreas,
@heiglandreas@phpc.social avatar

@dgoosens as ::class can be used without the class actually being available, it is not really coupling. (see https://3v4l.org/jorQT)

Sometimes code needs to check whether a class is available or not and this is a valid way to do so even when the class is not available. Therefore it is not more coupleded that writing out the full namespaced classname as a string.

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