-
As described in http://php-di.org/doc/container.html#make, one can provide an associative array as second parameter:
```php
$someInstance = $container->make('someClass', [
'param1' => 'value1', …
-
### Symfony version(s) affected
6.4.10
### Description
The problem in short: DI removes doctrine repository, which is used in non-shared services, and throws an exception "You have requested …
-
Надо чтобы из конфига контейнера можно было определять будет отдан синглтон (инстанс созданный ранее) или же создастся новый при каждом вызове get.
Пример:
Некий сервис требует другой класс (допус…
-
Why doesn't the interface provide a "set" method? I wonder what the use case for the interface is if I can't rely on a contract about how objects can be stored in the container?
See similar questio…
-
Hello.
When executing: $provider->getResourceOwner($token);
I got this error: Failed to parse JSON response: Syntax error /vendor/league/oauth2-client/src/Provider/AbstractProvider.php on line 6…
-
Hi,
im trying to configure this for using keycloak over humhub project, this is my config:
'authClientCollection' => ['oidc' => [
'class' => 'worteks\yii\authclient\OIDC',
…
-
Hello guys, I would like to propose change database abstraction to `doctrine/dbal`.
Look at `cakephp/database`'s (v5) dependency tree:
```
/var/www/html $ composer show cakephp/database --tree
c…
-
`1. in /app/vendor/dektrium/yii2-user/Bootstrap.php at line 57
48495051525354555657585960616263646566 if ($app->hasModule('user') && ($module = $app->getModule('user')) instanceof Module) {
…
-
The `\Zettacast\Injector` module should be compatible with `PSR-11`'s `\Psr\Container\ContainerInterface`. Some projects using dependency injection, such as [Pimple](https://pimple.symfony.com/) and […
-
https://github.com/nextras/migrations/commit/d46cbd649df0def60e5630e9943fba3ab432ed93#commitcomment-24528344
hrach updated
6 years ago