WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Vendor\League\Container

ReflectionContainer::cacheResolutions() public WC 1.0

Whether the container should default to caching resolutions and returning the cache on following calls.

{} It's a method of the class: ReflectionContainer{}

No Hooks.

Return

self.

Usage

$ReflectionContainer = new ReflectionContainer();
$ReflectionContainer->cacheResolutions( $option ) : ContainerInterface;
$option *(true false)*

Default: true

Code of ReflectionContainer::cacheResolutions() WC 5.8.0

public function cacheResolutions(bool $option = true) : ContainerInterface
{
    $this->cacheResolutions = $option;

    return $this;
}