- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
if ( ($cache = isset($this->cache[0]) ? $this->cache[0] : null) != null ) {
$isNeedCache = $cache->isNeedCache($plug);
}
if ( !$isNeedCache || !$cache->getPlugCache($plug, $plugInfo) ) {
/** processing: running plug */
$this->dispatcher->processPlug($request, $response);
if ($isNeedCache)
$cache->setPlugCache($plug, $plugInfo);
}
Вляпался в php - это же очевидно!
Это не говнокод