Skip to content

Classes don't expose all methods provided by the service provider #3

Open
@jonphipps

Description

@jonphipps

Many of the serviceproviders instantiate more than one class and expose multiple class::methods through that serviceprovider's façade. Validator and Database are examples of this behavior.

I honestly don't have any good ideas of how to fix this in the current parser, unless to maybe tell it to parse several several classes and aggregate the methods under a single façade? It could theoretically be automated using PHP reflection, but I don't have the time (or skill level) to work that out at the moment.

Hate to raise an issue without either a PR or a solution in hand (STFU or PR), but it seems like it's an open issue that ought to be mentioned.

This parser is currently the best way to keep up with the changes in L4 and at least have a hope of getting the code completion working in PHPstorm. Thank You!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions