TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Core\Cache\Backend\PhpCapableBackendInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Core\Cache\Backend\PhpCapableBackendInterface:
TYPO3\CMS\Core\Cache\Backend\BackendInterface t3lib_cache_backend_PhpCapableBackend TYPO3\CMS\Core\Cache\Backend\EarlyClassLoaderBackend TYPO3\CMS\Core\Cache\Backend\FileBackend TYPO3\CMS\Core\Cache\Backend\NullBackend TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend t3lib_cache_backend_FileBackend t3lib_cache_backend_NullBackend TYPO3\CMS\Core\Tests\Unit\Cache\Backend\MockBackend TYPO3\CMS\Core\Cache\Backend\ClassLoaderBackend TYPO3\CMS\Core\Cache\Backend\FileBackend t3lib_cache_backend_FileBackend

Public Member Functions

 requireOnce ($entryIdentifier)
 
- Public Member Functions inherited from TYPO3\CMS\Core\Cache\Backend\BackendInterface
 setCache (\TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $cache)
 
 set ($entryIdentifier, $data, array $tags=array(), $lifetime=NULL)
 
 get ($entryIdentifier)
 
 has ($entryIdentifier)
 
 remove ($entryIdentifier)
 
 flush ()
 
 collectGarbage ()
 

Detailed Description

This file is part of the TYPO3 CMS project.

It is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, either version 2 of the License, or any later version.

For the full copyright and license information, please read the LICENSE.txt file that was distributed with this source code.

The TYPO3 project - inspiring people to share! A contract for a cache backend which is capable of storing, retrieving and including PHP source code.

Author
Robert Lemke rober.nosp@m.t@ty.nosp@m.po3.o.nosp@m.rg

Definition at line 23 of file PhpCapableBackendInterface.php.

Member Function Documentation

◆ requireOnce()

TYPO3\CMS\Core\Cache\Backend\PhpCapableBackendInterface::requireOnce (   $entryIdentifier)

Loads PHP code from the cache and require_onces it right away.

Parameters
string$entryIdentifierAn identifier which describes the cache entry to load
Returns
mixed Potential return value from the include operation

Implemented in TYPO3\CMS\Core\Cache\Backend\FileBackend, TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend, TYPO3\CMS\Core\Cache\Backend\ClassLoaderBackend, TYPO3\CMS\Core\Cache\Backend\NullBackend, and TYPO3\CMS\Core\Cache\Backend\EarlyClassLoaderBackend.