use cached container even with debug mode != 0
Cette révision appartient à :
Parent
31c3ac4e50
révision
2f12e28020
@ -165,7 +165,7 @@ class d3DicHandler implements d3DicHandlerInterface
|
||||
$config = $this->d3GetConfig();
|
||||
|
||||
return $config->isProductiveMode()
|
||||
&& !$config->getConfigParam('iDebug')
|
||||
// && !$config->getConfigParam('iDebug')
|
||||
&& $this->cacheFileExists();
|
||||
}
|
||||
|
||||
|
@ -421,7 +421,7 @@ class d3DicHandlerTest extends TestCase
|
||||
public function canUseCachedContainerDataProvider(): Generator
|
||||
{
|
||||
yield "not productive" => [false, 0, true, false];
|
||||
yield 'is debug' => [true, 1, true, false];
|
||||
yield 'is debug' => [true, 1, true, true];
|
||||
yield 'no cache file' => [true, 0, false, false];
|
||||
yield 'can use cached' => [true, 0, true, true];
|
||||
}
|
||||
|
Chargement…
x
Référencer dans un nouveau ticket
Bloquer un utilisateur