Re: [VOTE] Abstract final / Static classes
| From: | Florian Margaine | Date: | Fri, 12 Dec 2014 16:18:56 +0000 |
| Subject: | Re: [VOTE] Abstract final / Static classes | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-79603@lists.php.net to get a copy of this message | ||
Hi,
On Fri, Dec 12, 2014 at 5:12 PM, guilhermeblanco@gmail.com <
guilhermeblanco@gmail.com> wrote:
>
> Hi internals,
>
> After a good round of discussion, I updated the original "abstract final
> class" proposal into a "static class" proposal.
> However, I kept both patches online so it's up to voters decide which one
> it could be implemented.
> Patches are now complete and voting phase starts now and will be active
> until 12/19/2014.
>
> As this is a language update, it requires 2/3 pro or against the feature.
>
> https://wiki.php.net/rfc/abstract_final_class
Why does the example use
final?
final static class Environment
{
private static $rootDirectory = '/var/www/project';
public static function getRootDirectory()
{
return self::$rootDirectory;
}
}
Also, the vote presents 2 options. The RFC is in a weird state where it
mentions "abstract final" but doesn't explain anything about them. The
votes don't seem to be what the example is...
Could you edit your RFC?
>
>
> Happy voting!
>
> Regards,
>
> --
> Guilherme Blanco
> MSN: guilhermeblanco@hotmail.com
> GTalk: guilhermeblanco
> Toronto - ON/Canada
>
Cheers,
--
Florian Margaine