Size: a a a

2020 March 18

DS

Dmitriy S in Yii Framework 3
Алексей R
вполне себе да :/
источник

T

TradersVE in Yii Framework 3
Dmitriy S
Вот нашел, вроде он о несинглтонах как раз спрашивал
Is it possible to use the container-di without it using cache?
источник

А

Алексей R in Yii Framework 3
и?
источник

AM

Alexander Makarov in Yii Framework 3
TradersVE
Is it possible to use the container-di without it using cache?
what for?
источник

T

TradersVE in Yii Framework 3
To detect possible errors
источник

AM

Alexander Makarov in Yii Framework 3
???
источник

AM

Alexander Makarov in Yii Framework 3
an example?
источник

T

TradersVE in Yii Framework 3
Suppose you have an application and everything is fine but it doesn't work, one of the first things I do when debugging is to disable the cache and look at the logs.
источник

T

TradersVE in Yii Framework 3
Any component that uses cache must be able to disable it to track errors.
источник

А

Алексей R in Yii Framework 3
What cache you mean? Configured definitions?
источник

А

Алексей R in Yii Framework 3
or cache of instances inside container?
источник

T

TradersVE in Yii Framework 3
Алексей R
What cache you mean? Configured definitions?
Cache container.
источник

T

TradersVE in Yii Framework 3
I think the container should work with cache to improve speed, but also have the option to disable it for debugging.
источник

А

Алексей R in Yii Framework 3
TradersVE
Cache container.
Cache of definitions or cache of instances?
Ok. It is cache of definitions
источник

T

TradersVE in Yii Framework 3
Алексей R
Cache of definitions or cache of instances?
Ok. It is cache of definitions
yes
источник

А

Алексей R in Yii Framework 3
TradersVE
I think the container should work with cache to improve speed, but also have the option to disable it for debugging.
Cache of definitions builds by composer-config-plugin when all config is merged
источник

А

Алексей R in Yii Framework 3
You can rebuild it in debug mode every Request
источник

А

Алексей R in Yii Framework 3
источник

T

TradersVE in Yii Framework 3
Алексей R
You can rebuild it in debug mode every Request
Ok it must be placed in the documentation, because if you analyze the code you cannot disable the container cache for set, get method in container.
источник

AM

Alexander Makarov in Yii Framework 3
Yes, that thing will be documented.
источник