Documentation

RowDescriptor
in package

Table of Contents

Properties

$columns  : array<string|int, AbstractColumn>

Methods

__construct()  : mixed
getColumns()  : array<string|int, AbstractColumn>
getLineSize()  : int
getValues()  : array<string, mixed>
Extracts values from a row line based on column definitions.
validatePositions()  : void

Properties

Methods

__construct()

public __construct(array<string|int, mixed> $columns) : mixed
Parameters
$columns : array<string|int, mixed>

getValues()

Extracts values from a row line based on column definitions.

public getValues(string $rowLine) : array<string, mixed>

Handles multibyte UTF-8 characters safely.

Parameters
$rowLine : string
Return values
array<string, mixed>
On this page

Search results