SetaPDF_Extractor_Storage_StorageInterface A interface to implement different storage types
File: /SetaPDF v2/Extractor/Storage/StorageInterface.php
Implemented in
Summary
Methods
get()
abstract public SetaPDF_Extractor_Storage_StorageInterface::get (): SetaPDF_Extractor_Storage_StorageEntry[]
Get all entries intersecting with the given geometry.
Parameters
getFirstAvailable()
abstract public SetaPDF_Extractor_Storage_StorageInterface::getFirstAvailable (
void
): SetaPDF_Extractor_Storage_StorageEntry|falseGet the first available storage-entry or false.
getIntersecting()
abstract public SetaPDF_Extractor_Storage_StorageInterface::getIntersecting (): SetaPDF_Extractor_Storage_StorageEntry[]
Get all entries intersecting with the given entry.
Parameters
insert()
abstract public SetaPDF_Extractor_Storage_StorageInterface::insert (
SetaPDF_Core_Geometry_Point|SetaPDF_Core_Geometry_Rectangle $geometry, mixed $data
): SetaPDF_Extractor_Storage_StorageEntryCreate a new entry for the data using the geometry and inserts it into the storage.
Parameters
- $geometry : SetaPDF_Core_Geometry_Point|SetaPDF_Core_Geometry_Rectangle
- $data : mixed
insertEntry()
abstract public SetaPDF_Extractor_Storage_StorageInterface::insertEntry (): SetaPDF_Extractor_Storage_StorageEntry
Insert an entry into the storage.
Parameters
removeEntry()
abstract public SetaPDF_Extractor_Storage_StorageInterface::removeEntry (): SetaPDF_Extractor_Storage_StorageEntry
Remove an entry from the storage.