TYPO3  7.6
Public Member Functions | List of all members
PhpCapableBackendInterface Interface Reference
Inheritance diagram for PhpCapableBackendInterface:
BackendInterface FileBackend NullBackend SimpleFileBackend FileBackend

Public Member Functions

 requireOnce ($entryIdentifier)
 
- Public Member Functions inherited from 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

A contract for a cache backend which is capable of storing, retrieving and including PHP source code.

Definition at line 23 of file PhpCapableBackendInterface.php.

Member Function Documentation

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 FileBackend, SimpleFileBackend, and NullBackend.