Re: Annotation RFC + Patch

From: Date: Thu, 26 Aug 2010 12:10:18 +0000
Subject: Re: Annotation RFC + Patch
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-49542@lists.php.net to get a copy of this message
On Thu, 26 Aug 2010 13:56:09 +0200 (CEST), Etienne Kneuss <colder@php.net> wrote: > > I don't understand why aliasing of class names suddenly becomes an issue, > we now have namespaces which allow aliases. > > use NS\To\MyAnnotation as MyAnnot; > > [MyAnnot] > class Foo { > > } > > there is no need to have this aliasing mechanism at runtime as it will > only add more inconsistency to the plate. > > Best, > This was one of the questions I asked in my first mail, but nobody has answered them. I think this is the best solution for aliasing annotations. Greetings, Christian

« previous php.internals (#49542) next »