class abstract Core · roukmoute/pdf 0.6.2

PDF\Syntax\Object\StringType
A byte string; text encoding belongs to TextString, not to this fundamental type.

Read the source declaration ↗

Inheritance and contracts

Interfaces : PDF\Syntax\FileStructure\BasicType, Stringable

Traits : PDF\Serialization\SerializesPdf

3 directly derived types

Construction

__construct()

public function __construct(string $value)

Declared by PDF\Syntax\Object\StringType · View the code ↗

Declared methods

__toString()

public function __toString(): string

Declared by PDF\Syntax\Object\StringType · View the code ↗

Inherited methods

1 methods from parents and contracts

toPdf()

public abstract function toPdf(PDF\Serialization\SerializationContext $context): string

Declared by PDF\Syntax\FileStructure\BasicType · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly string $valuePDF\Syntax\Object\StringType