PHP use and namespaces

Please use this forum to ask for a new feature or to change an existing feature.
Merci d'utiliser ce forum pour demander de nouvelles fonctionnalités ou la modification de fonctionnalités existantes.

Re: PHP use and namespaces

Postby Bruno Pagès » Tue 24 Oct 2017 20:03

fbernoldi wrote:It's that or have a dependency to the parent class with the stereotype use, it's not quite clean either way.

The class produced by the artifact uses the other one (else there is no reason to have the use/use-as form except for non class php instructions), to have the dependency has sense even without considering the production of the form use/use-as

P.S. I am building the 7.1.4 and hope to distribute it tomorrow
ImageAuthor of Bouml
Bruno Pagès
 
Posts: 474
Joined: Mon 20 Feb 2012 08:23
Location: France

Re: PHP use and namespaces

Postby Bruno Pagès » Wed 25 Oct 2017 18:37

Hi Federico,

Bouml 7.1.4 is available

Please refer to the historic for details

Regards,
Bruno
ImageAuthor of Bouml
Bruno Pagès
 
Posts: 474
Joined: Mon 20 Feb 2012 08:23
Location: France

Re: PHP use and namespaces

Postby fbernoldi » Fri 27 Oct 2017 12:52

Thank you Bruno!

I've installed the updates yesterday, and I've been implementing it on a new module I'm working with.

Now I can easily improve the code legibility, on big projects we have very long annoying namespaces hehe.

Regards,
Federico.
fbernoldi
 
Posts: 33
Joined: Mon 10 Jul 2017 13:15

Previous

Return to Change requests / Demandes d'évolution

Who is online

Users browsing this forum: No registered users and 1 guest

cron