You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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,
The text was updated successfully, but these errors were encountered:
Sorry for not responding earlier, next week will even be better:
handle types by adding a PhpType interface that will be implemented by PhpClass and PhpInterface classes to be able to automatically add use statements
I see what you are after. I like it, just do not like the name PhpType - something better and we can have it as an interface for interfaces and classes.
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)
I unfortunately don't get that one - can you explain in more detail please? :)
PhpClass getInterfaces return collection of PhpInterface objects
Hi,
I have some ideas if you approve of i will create a PR for it :
PhpType
interface that will be implemented byPhpClass
andPhpInterface
classes to be able to automatically add use statementsPhpMethod
andPhpParameter
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 ofPhpInterface
objectsPhpClass
What do you think of this ?
Cheers,
The text was updated successfully, but these errors were encountered: