PHP code example of divineomega / uxdm-doctrine
1. Go to this page and download the library: Download divineomega/uxdm-doctrine 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/ */
divineomega / uxdm-doctrine example snippets
$doctrineDestination = new DoctrineDestination($entityManager, User::class);
$migrator = new Migrator;
$migrator->setDestination($doctrineDestination);
$migrator = new Migrator;
$migrator->addDestination($doctrineDestination, ['field1', 'field2']);
$migrator->addDestination($otherDestination, ['field3', 'field2']);