WordPress at a glance
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)
-

Code of ReflectionContainer::cacheResolutions() WC 5.0.0

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

    return $this;
}