Greg Korba 🛠️🛹 Codito @codito.dev · Jan 21

I can't fully grasp the value of #PHP RFC for optional interfaces 😅. I mean... what's the point of implementing the interface conditionally? If it does not exist, then it can't be used to type against it in the code. People smarter than me: help 😃! wiki.php.net/rfc/optional...

1 likes 1 replies

?

Replies

на чверть нудні коменти 💎 · Jan 21

weak reference to package from other package ? i.e. if there is psr/logger package installed we would like to implement psr/logger in our package , but if there is no a such package, we don't want our class to fail