https://manual.phpdoc.org/HTMLSmartyConverter/PHP/phpDocumentor/tutorial_tags.uses.pkg.html
"The @uses tag automatically creates a virtual @usedby tag in the other documentation that links to the documentation containing the @uses tag.
In other words, it is exactly like @see, except a return link is added automatically."
Do we do some tests?
$ cat test.php
<?php
class Foo {
/**
* @uses Bar::y()
*/
static function x() {
Bar::y();
}
}
class Bar {
static function y() {}
}
$ phpdoc -f test.php -t docs/
phpDocumentor v3.0.0
Parsing files...
docs/classes/Foo.html clipping:
https://pasteboard.co/K3NX243.png docs/classes/Bar.html clipping:
https://pasteboard.co/K3NXJlK.png
Into Foo.html uses Bar::y() *tag* found.
Into Bar.html usedby Foo::x() *virtual tag* not found.
Why?
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)