PHP code example of unclecheese / mock-dataobjects
1. Go to this page and download the library: Download unclecheese/mock-dataobjects library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
$myDataObject->fill(array(
'only_empty' => true, // only fill in empty fields
' relations, limit creation
'download_images' => false, // Don't download images from the web. Use existing.
));