Any way to add link to file in phpdoc?

Is there any way to add link to file in my code? For example when a calling $this->render('template_name') i want to add annotation to quickly jump to template file.

Comment actions Permalink

Is there any solution in 2020?

Comment actions Permalink

idd @Dubrovin, 2020 and im still looking  :)

The only way i could do this in phpstorm   (but is wierd AF)

$unusedVariable = '<a href="/project/absolute/path/to/file.php"></a>';

phpstorm will see it as html and make file.php clickable


Comment actions Permalink

Yes, that's still not implemented. Here's a feature request that you can vote for:


Please sign in to leave a comment.