php-mode
php-mode copied to clipboard
Best way to retrieve the current static function call
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?