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?
to your account
In some very simple tests we create container directly instead of a compiled container
$logger = new Logger('foo');
$container = new Container();
this causes error Nette\DI\Container::addService() service 'foo' should be defined as 'imported', but it is not possible without compilation of container.
Nette\DI\Container::addService() service 'foo' should be defined as 'imported'
Imho error should be triggered only if container is compiled (self::class !== static::class?)
self::class !== static::class
The text was updated successfully, but these errors were encountered:
No branches or pull requests