Re: New Feature: Fully qualified class name resolution as scalar with class keyword

From: Date: Sun, 15 Apr 2012 18:07:03 +0000
Subject: Re: New Feature: Fully qualified class name resolution as scalar with class keyword
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-59967@lists.php.net to get a copy of this message
Hi Ralph, hi everybody, given the clear use case and the simplicity of the patch, a very good idea. With regards, Lars Am 15.04.2012 um 16:13 schrieb Ralph Schindler: > >> I used to implement `public static function getClass() { return >> get_called_class(); }`, so I really like this one, makes it also easier >> for IDEs when refactoring code :) > > Oh completely, that is one of the major benefits. My current workflow for refactoring is to > refactor with the built-in support, but then also having to go find/replace on the full class name, > just in case. > > -ralph > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.internals (#59967) next »