DataProvider
in package
implements
DataProviderInterface
Uses
DataProviderTrait
Simple DataProvider implementation.
Table of Contents
Interfaces
- DataProviderInterface
- Describes DataProvider interface.
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.
public
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.
public
static json(string $Filename) : array<string|int, mixed>
Parameters
- $Filename : string
-
The filename.
Return values
array<string|int, mixed>lst()
Retrieve lst data.
public
static lst(string $Filename) : array<string|int, string>
Parameters
- $Filename : string
-
The filename.