PHPUnit Extension

LoadFileTrait

Describes LoadFile trait.

Table of Contents

Methods

csv()  : array<string|int, array<string, string>>
Retrieve csv data.
json()  : array<string|int, mixed>
Retrieve json data.
lst()  : array<string|int, string>
Retrieve lst data.

Methods

csv()

Retrieve csv data.

protected static csv(string $Filename) : array<string|int, array<string, string>>
Parameters
$Filename : string

The filename.

Return values
array<string|int, array<string, string>>

json()

Retrieve json data.

protected static json(string $Filename) : array<string|int, mixed>
Parameters
$Filename : string

The filename.

Return values
array<string|int, mixed>

lst()

Retrieve lst data.

protected static lst(string $Filename) : array<string|int, string>
Parameters
$Filename : string

The filename.

Return values
array<string|int, string>

        
On this page

Search results