I really like Laravel Facade
when transforming dynamic class to static.
For instance, I can easily add the keyword Facades
and call it a static class.
use Facades\App\Services\MyService;
public function something() {
$something = MyService::getSomething();
}
Normally we can track getSomething()
function using Ctrl+click
in VS code editor.
But with Facades
, Ctrl+click
doesn't work.
Any workaround with this to make the getSomething
function trackable?