enum final Core · roukmoute/pdf 0.7.1

PDF\Syntax\LexicalConvention\EndOfLineKind
End-of-line markers are distinct from the %%EOF end-of-file marker (7.2.2).

Read the source declaration ↗

Inheritance and contracts

Interfaces : BackedEnum, UnitEnum

Declared methods

cases()

public static function cases(): array

Declared by PDF\Syntax\LexicalConvention\EndOfLineKind · View the code ↗

from()

public static function from(string|int $value): static

Declared by PDF\Syntax\LexicalConvention\EndOfLineKind · View the code ↗

tryFrom()

public static function tryFrom(string|int $value): ?static

Declared by PDF\Syntax\LexicalConvention\EndOfLineKind · View the code ↗

Properties

DeclarationOrigin and documentation
public readonly string $namePDF\Syntax\LexicalConvention\EndOfLineKind
public readonly string $valuePDF\Syntax\LexicalConvention\EndOfLineKind

Enum cases

  • CarriageReturn = "\r"
  • LineFeed = "\n"
  • CarriageReturnLineFeed = "\r\n"