getData() protected method
Returns the fixture data.
The default implementation will try to return the fixture data by including the external file specified by $dataFile. The file should return the data array that will be stored in $data after inserting into the database.
protected array getData ( ) | ||
---|---|---|
return | array |
The data to be put into the database |
throws | yii\base\InvalidConfigException |
if the specified data file does not exist. |
Please login to continue.