Very briefly, but I don't see this happening TBH. When I see way better features being written up as an RFC, and get shut down by the majority of the voters; I don't this will have a chance. But I'm very flattered you think this could be an RFC :-)
I am however still thinking about opening up an RFC for body-less constructors. This would encourage constructor property promotion, but in an interface like notation; without the useless empty body and curly braces. Soo much work (time) though.
You could also propose those methods for the amazing Laravel Collection object through a PR, worst thing that can happen is to bring attention to your lib π
Good job. Have you considered writing an RFC to add those methods in PHP core?
Very briefly, but I don't see this happening TBH. When I see way better features being written up as an RFC, and get shut down by the majority of the voters; I don't this will have a chance. But I'm very flattered you think this could be an RFC :-)
I am however still thinking about opening up an RFC for body-less constructors. This would encourage constructor property promotion, but in an interface like notation; without the useless empty body and curly braces. Soo much work (time) though.
You could also propose those methods for the amazing Laravel Collection object through a PR, worst thing that can happen is to bring attention to your lib π
I understand. Donβt hesitate to DM me if you need an upvote or something π