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

Type Provider "Interface" #254

Closed
havvg opened this issue Mar 14, 2014 · 2 comments
Closed

Type Provider "Interface" #254

havvg opened this issue Mar 14, 2014 · 2 comments
Labels

Comments

@havvg
Copy link

havvg commented Mar 14, 2014

Currently the Type Provider can only be configured to provide a class.
However, when using e.g. PHPUnit_Framework_TestCase::getMockForAbstractClass an interface is valid, too.

It should also allow a combined provider (class or interface), just like method references class_interface.

@Haehnchen Haehnchen added the todo label Mar 18, 2014
@Haehnchen
Copy link
Owner

then we also should support

function('Foo')

@Haehnchen
Copy link
Owner

"class" sould already support interface, phpstorm api changed for that (interface==class). dont know if already inside v7, but i will add another provider

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

No branches or pull requests

2 participants