LocalFileAccess

final class \TYPO3\CMS\Core\Resource\TextExtraction\LocalFileAccess

Provides a FAL file or any other system resource as a local file to text extractors, for example to hand it to an external tool.

A local storage hands out the original file, other drivers a temporary copy created via GeneralUtility::tempnam(). Other system resources, such as files of packages, are copied from their contents, so no local path of a resource has to be exposed. Only such temporary copies below var/transient/ are removed afterwards, the original file of a storage is never touched, even if the storage itself is located below the var/ folder.

Table of Contents

Methods

withLocalFile()  : T

Methods

On this page