Re: [VOTE] RFC: Add ReflectionAttribute::getCurrent()
| From: | Benjamin Außenhofer | Date: | Fri, 12 Jun 2026 20:49:41 +0000 |
| Subject: | Re: [VOTE] RFC: Add ReflectionAttribute::getCurrent() | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-131224@lists.php.net to get a copy of this message | ||
Am 12.06.2026, 18:35:34 schrieb Larry Garfield <larry@garfieldtech.com>:
> On Fri, Jun 12, 2026, at 11:04 AM, Daniel Scherzer wrote:
>
> Hi internals,
>
>
> Voting is now open for this RFC.
>
>
> * RFC: https://wiki.php.net/rfc/reflectionattribute-getcurrent
>
> * Discussion thread: https://news-web.php.net/php.internals/130766“O'}ÀXìÞ
> Õ`¡Ä
>
>
> Voting will end 2026-06-26 at end-of-day UTC.
>
>
> -Daniel
>
>
> For those voting No on this, would you accept the "automatic setter
> injection interface" alternative? (That would still work for the original
> goal of the RFC.)
>
> --Larry Garfield
>
I would vote yes on interface + setter injection during newInstance.