I have a base class (lets call it A) and I have inheriting Class (lets call it AA).
In a different abstract class I have:
abstract class DifferentClass{
/**
*@var A
*/
protected MyA;
}
In a more different class:
class MoreDifferent extends DifferentClass{
public function __construct(){
$this->MyA = new AA;
}
}
My problem is when I ctrl+left click on MyA
in the inheriting class, it will take me to the original class A file. I would like it to take me to the AA
file.
What is the PHPdoc way of doing this?