setasign\SetaPDF2\Core\Writer

EchoWriter A writer class which uses simple echo calls

File: /SetaPDF v2/Core/Writer/EchoWriter.php
Old class name (alias): \SetaPDF_Core_Writer_Echo

Class hierarchy

Implements

Summary

Properties

$_pos

protected int EchoWriter::$_pos = 0

The current position

$_status

protected string AbstractWriter::$_status = 0

Status property


Methods

cleanUp()

public AbstractWriter::cleanUp (
void
): void

Method which should/will be called when the document objects cleanUp() method is called.

finish()

public AbstractWriter::finish (
void
): void

Method which should/will be called when the writing process is finished.

getPos()

public EchoWriter::getPos (
void
): int

Returns the current position.

getStatus()

public AbstractWriter::getStatus (
void
): string

Get the current status of the writer object.

start()

public AbstractWriter::start (
void
): void

Method which should/will be called when the writing process starts.

write()

public EchoWriter::write (
string $s
): void

Echo the string.

Parameters
$s : string