Page 1 of 1

PHP interface inheritance

PostPosted: Wed 20 Dec 2017 14:25
by fbernoldi
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.

Re: PHP interface inheritance

PostPosted: Wed 20 Dec 2017 19:09
by Bruno Pag├Ęs
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

Re: PHP interface inheritance

PostPosted: Fri 29 Dec 2017 11:53
by fbernoldi
Hi,

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

Federico.