AbstractDataProvider
in package
Uses
PrintTrait, LoadFileTrait
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.
- printConsole() : void
- Print message to console.
- printError() : void
- Print error message to console.
- printOut() : void
- Print out message to console.
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>printConsole()
Print message to console.
protected
static printConsole(resource $Stream, string $Message) : void
Parameters
- $Stream : resource
-
The resource.
- $Message : string
-
The message.
printError()
Print error message to console.
protected
static printError(string $Message) : void
Parameters
- $Message : string
-
The message.
printOut()
Print out message to console.
protected
static printOut(string $Message) : void
Parameters
- $Message : string
-
The message.