Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add @mixin tag #120

Closed
ycs77 opened this issue Jul 9, 2019 · 6 comments
Closed

Add @mixin tag #120

ycs77 opened this issue Jul 9, 2019 · 6 comments

Comments

@ycs77
Copy link

ycs77 commented Jul 9, 2019

I hope you can add @mixin tag so that class can mixin other class methods hints.

My use time is to call SecondClass in the __call method on FirstClass.

Use example:

/**
 * @mixin SecondClass
 */
class FirstClass
{
    //
}

Can this be achieved?

@0xstride
Copy link

Is there any plans for this?

@tianyiw2013
Copy link
Contributor

I think it's a good suggestion.

@besrabasant
Copy link

Aboslutely... When can we expect this feature to be added?

@StevenRoan
Copy link

StevenRoan commented Oct 21, 2020

We also need this feature. To support the laravel resource situation. Or do we have any workaround?

@dvsoukup
Copy link

Seems like slightly old thread but... I saw this PR:
#135

Looks like it just has a failing test. I too would like these doc tags added.

@neild3r
Copy link
Owner

neild3r commented Sep 7, 2021

This was implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants