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

Best way to retrieve the current static function call #629

Open
vpxyz opened this issue May 30, 2020 · 0 comments
Open

Best way to retrieve the current static function call #629

vpxyz opened this issue May 30, 2020 · 0 comments

Comments

@vpxyz
Copy link

vpxyz commented May 30, 2020

Hi, I'm try to figure out how to retrieve the current static function call. In code like this

   <?php
   UI\Control::enable(); 

if the cursor position is before ::, (thing-at-point 'sexp t) return UI\\Control, after the :: return enable.
There is in php-mode a function that returns the whole static method call?

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