Re: [PHP-DEV] [RFC] [Discussion] Class Friendship in PHP

2017-09-21 Thread Marco Pivetta
Hey Dustin, Given the amount of use-cases (very low, so far) this feels much much easier if just implemented in userland via `Closure::call()`, since the scope of the patch complicates the class model of PHP by a whole lot. Another simple solution is to use things such as leedavis81/altr-ego, whi

[PHP-DEV] [RFC] [Discussion] Class Friendship in PHP

2017-09-21 Thread Dustin Wheeler
Hi! Almost two years ago, I opened discussion regarding my proposal to support class friendship through a new keyword, `friend`. For a number of reasons (mostly work-related; some personal) I didn't have time to move the process forward. There were several hot-topic discussions going through the m