Skip to content

Features adding suggestion #66

@sidux

Description

@sidux

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions