ICanBoogie/Storage v1.1.1
  • Namespace
  • Class

Namespaces

  • ICanBoogie
    • Storage

Classes

  • APCStorage
  • CacheCollection
  • FileStorage
  • FileStorageIterator
  • RedisStorage
  • RunTimeStorage
  • StorageCollection

Interfaces

  • Cache
  • Storage

Traits

  • ArrayAccessTrait

Class FileStorageIterator

Iterates through a file storage.

The iterator is usually created using the FileStorage::matching() method.

The iterator can also be used to delete matching keys.

ICanBoogie\Storage\FileStorageIterator implements Iterator
Namespace: ICanBoogie\Storage
Located at FileStorageIterator.php

Methods summary

public
# __construct( Iterator $iterator )
public DirectoryIterator
# current( )

Returns the directory iterator.

Returns the directory iterator.

Dot files are skipped.

Returns

DirectoryIterator

Implementation of

Iterator::current()
public
# next( )

Implementation of

Iterator::next()
public string
# key( )

Returns the pathname of the key.

Returns the pathname of the key.

Returns

string

Implementation of

Iterator::key()
public
# valid( )

Implementation of

Iterator::valid()
public
# rewind( )

Implementation of

Iterator::rewind()
public
# delete( )

Deletes the key found by the iterator.

Deletes the key found by the iterator.

Properties summary

protected Iterator $iterator

Iterator.

Iterator.

#
ICanBoogie/Storage v1.1.1 API documentation generated by ApiGen