PHP Класс Neos\Cache\Frontend\CacheEntryIterator

Наследование: implements Iterator
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$backend Neos\Cache\Backend\IterableBackendInterface
$frontend Neos\Cache\Frontend\FrontendInterface

Открытые методы

Метод Описание
__construct ( Neos\Cache\Frontend\FrontendInterface $frontend, Neos\Cache\Backend\IterableBackendInterface $backend, integer $chunkSize = null ) Constructs this Iterator
current ( ) : mixed Returns the data of the current cache entry pointed to by the cache entry iterator.
key ( ) : string Returns the identifier of the current cache entry pointed to by the cache entry iterator.
next ( ) : void Move forward to the next cache entry
rewind ( ) : void Rewind the cache entry iterator to the first element
valid ( ) : boolean Checks if current position of the cache entry iterator is valid

Описание методов

__construct() публичный Метод

Constructs this Iterator
public __construct ( Neos\Cache\Frontend\FrontendInterface $frontend, Neos\Cache\Backend\IterableBackendInterface $backend, integer $chunkSize = null )
$frontend Neos\Cache\Frontend\FrontendInterface Frontend of the cache to iterate over
$backend Neos\Cache\Backend\IterableBackendInterface Backend of the cache
$chunkSize integer Determines the number of entries fetched by the backend at once (for future use)

current() публичный Метод

Returns the data of the current cache entry pointed to by the cache entry iterator.
public current ( ) : mixed
Результат mixed

key() публичный Метод

Returns the identifier of the current cache entry pointed to by the cache entry iterator.
public key ( ) : string
Результат string

next() публичный Метод

Move forward to the next cache entry
public next ( ) : void
Результат void

rewind() публичный Метод

Rewind the cache entry iterator to the first element
public rewind ( ) : void
Результат void

valid() публичный Метод

Checks if current position of the cache entry iterator is valid
public valid ( ) : boolean
Результат boolean TRUE if the current element of the iterator is valid, otherwise FALSE

Описание свойств

$backend защищенное свойство

protected IterableBackendInterface,Neos\Cache\Backend $backend
Результат Neos\Cache\Backend\IterableBackendInterface

$frontend защищенное свойство

protected FrontendInterface,Neos\Cache\Frontend $frontend
Результат Neos\Cache\Frontend\FrontendInterface