I'm thinking of dropping the mutable URL class for the next version of LeagueUrl are you for or against it, why ? @thephpleague #URL #PHP
— ignace nyamagana butera (@nyamsprod) January 5, 2015
As I am working on the next version of the League\URL package, I reached a point where a BC break must be done around the URLs classes. In the current stable version (version 3), the URLs can be treated as mutable or immutable objects. This means that depending on your needs you may choose to represent your URLs one way or another. To keep the package tight and simple my approach was to introduce an URLInterface
interface that both classes could share. This simple approach introduced a major problem that need to be address in the next version. Continue reading