Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provider for names of methods of the current classes #72

Open
stof opened this issue Aug 8, 2017 · 0 comments
Open

Provider for names of methods of the current classes #72

stof opened this issue Aug 8, 2017 · 0 comments

Comments

@stof
Copy link

stof commented Aug 8, 2017

My use case is to provide completion for an API similar to the EventSubscriberInterface of Symfony, but simpler (no priority, and no support for multiple callbacks):

class Foo implements MyCustomSubscriberInterface
{
    public static function getSubscribedProcessors()
    {
        // Array values are named of public methods of the class
        return [
            'test' => 'processTest',
            // ...
        ];
    }
}

It would be great if we could have a provider to register such completion (and the corresponding GoTo btw).

cedricziel pushed a commit to cedricziel/idea-php-toolbox that referenced this issue Jun 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant