php-mode icon indicating copy to clipboard operation
php-mode copied to clipboard

Best way to retrieve the current static function call

Open vpxyz opened this issue 5 years ago • 0 comments

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?

vpxyz avatar May 30 '20 11:05 vpxyz