Hi,well... yes and no. Take the Symfony2 example: you want to reference ^$task->task with autocompletion in your IDE? This won't work, because Task::$task is a protected property. Symfony2 does the magic for you and automagically accesses the getters and setters. This probably won't work with property references, since you can't get the getters and setters for it (except relying on the name of the property as string and manipulating it). Soo... I guess, for this feature, to be useful, we need object accessors first (which were recently rejected by vote)? Cheers Jannik
|
- Re: [PHP-DEV] property de-referencing Rasmus Schultz
- Re: [PHP-DEV] property de-referencing Ferenc Kovacs
- Re: [PHP-DEV] property de-referencing Rasmus Schultz
- [PHP-DEV] Re: [lists.php] Re: [PHP-DEV] pr... ALeX
- [PHP-DEV] Re: [lists.php] Re: [PHP-DEV] pr... Rasmus Schultz
- Re: [PHP-DEV] property de-referencing Stas Malyshev
- Re: [PHP-DEV] property de-referencing Rasmus Lerdorf
- Re: [PHP-DEV] property de-referencing Lazare Inepologlou
- Re: [PHP-DEV] property de-referencing Stas Malyshev
- Re: [PHP-DEV] property de-referencing Lazare Inepologlou
- Re: [PHP-DEV] property de-referencing Jannik Zschiesche
- Re: [PHP-DEV] property de-referencing Rasmus Schultz
- Re: [PHP-DEV] property de-referencing Rasmus Schultz
- Re: [PHP-DEV] property de-referencing Adam Harvey
- Re: [PHP-DEV] property de-referencing Rasmus Schultz
- Re: [PHP-DEV] property de-referencing Bernhard Schussek
- Re: [PHP-DEV] property de-referencing Rasmus Schultz
- Re: [PHP-DEV] property de-referencing Rasmus Schultz
- Re: [PHP-DEV] property de-referencing Lazare Inepologlou
- Re: [PHP-DEV] property de-referencing Rasmus Schultz
- Re: [PHP-DEV] property de-referencing Nikita Popov