Task - AgenceStratis/migrator GitHub Wiki
A task can use multiple data sources for custom behavior
For example, create a dataset with values from 3 sources
YAML Configuration
task:
type: custom/test
PHP Class
namespace Stratis\Component\Migrator\Task\Custom;
use Stratis\Component\Migrator\Configuration;
use Stratis\Component\Migrator\Task\DefaultTask;
/**
* Class TestTask
* @package Stratis\Component\Migrator\Task\Custom
*/
class TestTask extends DefaultTask
{
/**
* @param Configuration $config
*/
public function main(Configuration $config)
{
// Whatever you want
}
}