> A primary use case for hooks is actually to not use them, but retain the ability to do so in the future, should it become necessary. My personal motivation was always to finally put an end to the getters/setters…
It's not possible because PHP has a LALR(1) parser but this would require arbitrary lookahead.
> A primary use case for hooks is actually to not use them, but retain the ability to do so in the future, should it become necessary. My personal motivation was always to finally put an end to the getters/setters…
It's not possible because PHP has a LALR(1) parser but this would require arbitrary lookahead.