DataProvider
class DataProvider
| internal |
Loads and filters test data from PHP or INI files.
Methods
static array
load(string $file, string $query = '')
Loads data sets from a PHP or INI file, optionally filtered by a query string.
static bool
testQuery(string $input, string $query)
Checks whether a data-set key matches the query filter criteria.
static array
parseAnnotation(string $annotation, string $file)
Parses a @dataProvider annotation value into its file path, query, and optional flag.
Details
at line 24
static array
load(string $file, string $query = '')
Loads data sets from a PHP or INI file, optionally filtered by a query string.
at line 58
static bool
testQuery(string $input, string $query)
Checks whether a data-set key matches the query filter criteria.
at line 96
static array
parseAnnotation(string $annotation, string $file)
Parses a @dataProvider annotation value into its file path, query, and optional flag.