Box\Spout\Reader\XLSX\Helper\SharedStringsHelper::getBestSharedStringsCachingStrategy PHP Method

getBestSharedStringsCachingStrategy() protected method

Returns the best shared strings caching strategy.
protected getBestSharedStringsCachingStrategy ( integer | null $sharedStringsUniqueCount ) : Box\Spout\Reader\XLSX\Helper\SharedStringsCaching\CachingStrategyInterface
$sharedStringsUniqueCount integer | null Number of unique shared strings (NULL if unknown)
return Box\Spout\Reader\XLSX\Helper\SharedStringsCaching\CachingStrategyInterface
    protected function getBestSharedStringsCachingStrategy($sharedStringsUniqueCount)
    {
        return CachingStrategyFactory::getInstance()->getBestCachingStrategy($sharedStringsUniqueCount, $this->tempFolder);
    }