setasign\SetaPDF2\Extractor\Storage

StorageInterface A interface to implement different storage types

File: /SetaPDF v2/Extractor/Storage/StorageInterface.php
Old class name (alias): \SetaPDF_Extractor_Storage_StorageInterface

Implemented in

Summary

Methods

clear()

abstract public StorageInterface::clear (
void
): void

Removes all entries from the storage and cleans up.

getFirstAvailable()

abstract public StorageInterface::getFirstAvailable (
void
): StorageEntry|false

Get the first available storage-entry or false.

getIntersecting()

Get all entries intersecting with the given entry.

Parameters
$entry : StorageEntry
 

insert()

Create a new entry for the data using the geometry and inserts it into the storage.

Parameters
$geometry : \setasign\SetaPDF2\Core\Geometry\Point|\setasign\SetaPDF2\Core\Geometry\Rectangle
 
$data : mixed
 

insertEntry()

Insert an entry into the storage.

Parameters
$entry : StorageEntry
 

removeEntry()

Remove an entry from the storage.

Parameters
$entry : StorageEntry