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

generate locator has to implement "LocatorInterface" if at least one "is_factory" is true #6

Closed
stevleibelt opened this issue Sep 7, 2015 · 1 comment
Assignees
Labels

Comments

@stevleibelt
Copy link
Member

If you add a "is_factory" => true, you get the following error.

Argument 1 passed to BlaBlaFactory::setLocator() must be an instance of Net\Bazzline\Component\Locator\LocatorInterface, instance of BlaBlaLocator given

Whenever "is_factory" is configure to "true", the "implements" configuration section has to be extended by "Net\Bazzline\Component\Locator\LocatorInterface" automatically.

@stevleibelt stevleibelt added the bug label Sep 7, 2015
@stevleibelt stevleibelt self-assigned this Sep 7, 2015
@stevleibelt
Copy link
Member Author

Fixed in release 2.0.6

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

1 participant