loadFile()
loadFile( $file)
Parameters
$file |
The fixture class is used to prepopulate your database with data.
Load a fixture file in the database: array = Pluf_Test_Fixture::load('fixturefile.json');
Dump the data of a model as a fixture string: $json = \Pluf\Test\Fixture::dump('YourApp_Model'); $json = \Pluf\Test\Fixture::dump($model);