Hi,
I have some ideas if you approve of i will create a PR for it :
- handle types by adding a
PhpType interface that will be implemented by PhpClass and PhpInterface classes to be able to automatically add use statements
PhpMethod and PhpParameter type will be list of types merged from typehint and docblock (if we set multiple types we will use only doc block)
PhpClass getInterfaces return collection of PhpInterface objects
- Auto add use statement when adding an interface to
PhpClass
What do you think of this ?
Cheers,
Hi,
I have some ideas if you approve of i will create a PR for it :
PhpTypeinterface that will be implemented byPhpClassandPhpInterfaceclasses to be able to automatically add use statementsPhpMethodandPhpParametertype will be list of types merged from typehint and docblock (if we set multiple types we will use only doc block)PhpClass getInterfacesreturn collection ofPhpInterfaceobjectsPhpClassWhat do you think of this ?
Cheers,