Re:Unsure if I understand TransactionAwarePersistenceManager...
by dxm on Friday June 28, 2013 @07:50PM
(#5960938)
I personally think that's worse. The original declaration is easier to read and immediately recognisable as to what it is, I can see clearly that it's a namespace and a class. The second version would require me to think.
Re:Unsure if I understand TransactionAwarePersistenceManager...
by dugmartin on Friday June 28, 2013 @08:59PM
(#5961125)
In PHP you can have non-alphanumeric variables like so:
$org->{'spring framework'}->orm->jdo->{'transaction aware persistence manager factory proxy'}
I'm not sure if you can do that with PHP namespaces though (and I'm too lazy to test this): use org\{'spring framework'}\orm\jdo\{'transaction aware persistence manager factory proxy'};
like instead of
something like or is that just a terrible idea?