Re: [RFC] Alternative typehinting syntax for accessors
| From: | Jonathan Wage | Date: | Sat, 05 Jan 2013 18:06:55 +0000 |
| Subject: | Re: [RFC] Alternative typehinting syntax for accessors | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-64555@lists.php.net to get a copy of this message | ||
This looks really nice. I would love to see this in PHP +1
- Jon
On Fri, Jan 4, 2013 at 8:41 AM, Nikita Popov <nikita.ppv@gmail.com> wrote:
> Hi internals!
>
> I already brought this up before, but I think the discussion at that time
> was not very constructive and largely off-topic, so I'm bringing it up
> again. To make sure everything is clear I wrote an RFC document:
>
>
>
> https://wiki.php.net/rfc/propertygetsetsyntax-alternative-typehinting-syntax
>
> This RFC proposes an alternative syntax for typehinting accessors, which
> will in particular also allow to typehint properties directly, even if no
> accessors are used (public DateTime $date).
>
> What are your opinions on this?
>
> Thanks,
> Nikita
>
--
Connect with me on *http://twitter.com/jwage* <http://twitter.com/jwage>
and http://about.me/jwage to keep in touch.
Join OpenSky today: http://osky.co/l6a75g