TestDataYamlFixture::writeDataObject
Mostly rewritten from parent, with changes that allow us to update objects (not only write new).
Also adds dummy file creation. The files will either be empty (touched only), or will be copied from the testdata directory if found.
Signature
protected function writeDataObject(
$model,
$dataClass,
$items )
Parameters
$model
—$dataClass
—$items
—