setasign\SetaPDF2\Extractor\Result

Collection This class represents a collection of items implementing HasBoundsInterface

File: /SetaPDF v2/Extractor/Result/Collection.php
Old class name (alias): \SetaPDF_Extractor_Result_Collection

Class hierarchy

Implements

Summary

Properties


Methods

__construct()

cleanUp()

public Collection::cleanUp (
void
): void

Release memory and cycled references

count()

public Collection::count (
void
): int

Implementation of the Countable interface.

See

current()

getBounds()

Get the outer-most bounds of all items in this collection.

This method will only return values of non-rotated items.

getItems()

key()

public Collection::key (
void
): int

Implementation of the Iterator interface.

See

next()

public Collection::next (
void
): void

Implementation of the Iterator interface.

See

offsetExists()

public Collection::offsetExists (
int $offset
): bool

Implementation of the ArrayAccess interface.

Parameters
$offset : int
 
See

offsetGet()

Implementation of the ArrayAccess interface.

Parameters
$offset : int
 
Exceptions

Throws \InvalidArgumentException

See

offsetSet()

Implementation of the ArrayAccess interface.

Parameters
$offset : ?int
 
$value : \SetaPDF_Extractor_Result_HasBoundsInterface
 
Exceptions

Throws \InvalidArgumentException

See

offsetUnset()

public Collection::offsetUnset (
int $offset
): void

Implementation of the ArrayAccess interface.

Parameters
$offset : int
 
See

rewind()

public Collection::rewind (
void
): void

Implementation of the Iterator interface.

See

valid()

public Collection::valid (
void
): bool

Implementation of the Iterator interface.

See