phpdox icon indicating copy to clipboard operation
phpdox copied to clipboard

Trait aliases are ignored

Open davidsneighbour opened this issue 5 years ago • 1 comments
trafficstars

The following code:

class Dropdowns extends Menus
{
    use MenuTrait {
        getToplevelItem as public get;
        setToplevelItem as public set;
    }
}

results in neither the trait methods (getToplevelItem/setToplevelItem) nor the get/set alias being documented in the documenation of the Dropdowns class. I would expect two public methods in the Dropdowns class documentation? They are private in the trait itself, but as public works as expected under 7.4 (the methods are public accessible).

davidsneighbour avatar Feb 23 '20 11:02 davidsneighbour

As the subject states: It's ignored because there is literally no code taking care of that construct as of yet.

I'll try to add it but it can take some time.

theseer avatar Feb 25 '20 14:02 theseer