Automattic\WooCommerce\Vendor\League\Container
ReflectionContainer::cacheResolutions()
Whether the container should default to caching resolutions and returning the cache on following calls.
Метод класса: ReflectionContainer{}
Хуков нет.
Возвращает
self
.
Использование
$ReflectionContainer = new ReflectionContainer(); $ReflectionContainer->cacheResolutions( $option ) : ContainerInterface;
- $option(true|false)
- -
По умолчанию: true
Код ReflectionContainer::cacheResolutions() ReflectionContainer::cacheResolutions WC 7.5.1
public function cacheResolutions(bool $option = true) : ContainerInterface { $this->cacheResolutions = $option; return $this; }