class final Optional · pdftoolkit/pdf-reader 0.8.1
PDF\Reading\Import\ImportSessionOne atomic copy from one source document. Call once with every root whose identity must be shared.Inheritance and contracts
This type declares no parent, interface or trait.
Construction
__construct()
public function __construct(PDF\Reading\ReadDocument $document, PDF\Reading\Import\StreamImportMode $streams, PDF\Reading\Import\ImportLimits $limits = new ImportLimits(), ?PDF\Reading\ExternalStreamSource $externalStreams = null)Declared methods
import()
public function import(PDF\Syntax\FileStructure\BasicType ...$roots): PDF\Reading\Import\ImportedGraphSource roots must belong to this session's document. No filesystem access or in-place edit occurs.