PHP interface inheritance

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.

PHP interface inheritance

Postby fbernoldi » Wed 20 Dec 2017 13:25

Hi,

In PHP you can have interface inheritance, see http://php.net/manual/en/language.oop5.interfaces.php.

I've already modify the default interface template for my projects.

Can you modify the default interface template in bouml to:

${comment}interface ${name}${extends} {
${members}}


Thanks!
Federico.
fbernoldi
 
Posts: 37
Joined: Mon 10 Jul 2017 13:15

Re: PHP interface inheritance

Postby Bruno Pagès » Wed 20 Dec 2017 18:09

Hi,

This is already done since the release 6.5 delivered March 1th 2014 :

  • ${extends} was missing in the default definition of an interface in Php, fixed.

Create a new project and you will see the default definition in the generations settings contains the extends.

Only the projects created by a version older than the 6.5 do not have this default definition until you change it.

Kind regards
ImageAuthor of Bouml
Bruno Pagès
 
Posts: 521
Joined: Mon 20 Feb 2012 08:23
Location: France

Re: PHP interface inheritance

Postby fbernoldi » Fri 29 Dec 2017 10:53

Hi,

Sorry! It seems that my proyects are old :lol:

Federico.
fbernoldi
 
Posts: 37
Joined: Mon 10 Jul 2017 13:15


Return to Change requests / Demandes d'évolution

Who is online

Users browsing this forum: Bruno Pagès and 1 guest