src/NestedContainer.php
public function setUseHasCache($useHasCache = true, $hasCacheLength = null)
    {
        $this->useHasCache = (bool)$useHasCache;

        if ($hasCacheLength !== null) {
            $this->hasCacheLength = (int)$hasCacheLength;
        }

        return $this;
    }
public function setUseHasCache($useHasCache = true, $hasCacheLength = null)
    {
        $this->useHasCache = (bool)$useHasCache;

        if ($hasCacheLength !== null) {
            $this->hasCacheLength = (int)$hasCacheLength;
        }

        return $this;
    }
public function setUseHasCache ( $ useHasCache = true , $ hasCacheLength = null ) { $ this -> useHasCache = ( bool ) $ useHasCache ; if ( $ hasCacheLength !== null ) { $ this -> hasCacheLength = ( int ) $ hasCacheLength ; } return $ this ; }
Sets the property useHasCache and size of cache
@param bool $useHasCache
@param null $hasCacheLength
@return $this
Sets the property useHasCache and size of cache