Automattic\WooCommerce\Vendor\League\Container
ReflectionContainer::cacheResolutions()
Whether the container should default to caching resolutions and returning the cache on following calls.
Method of the class: ReflectionContainer{}
No Hooks.
Return
self
.
Usage
$ReflectionContainer = new ReflectionContainer(); $ReflectionContainer->cacheResolutions( $option ) : ContainerInterface;
- $option(true|false)
- -
Default: true
ReflectionContainer::cacheResolutions() ReflectionContainer::cacheResolutions code WC 8.7.0
public function cacheResolutions(bool $option = true) : ContainerInterface { $this->cacheResolutions = $option; return $this; }