for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Gendoria\CommandQueueDoctrineDriverBundle\Worker;
use Gendoria\CommandQueue\Serializer\SerializedCommandData;
use Gendoria\CommandQueueBundle\Worker\BaseSymfonyWorker;
/**
* Doctrine worker
*
* @author Tomasz Struczyński <[email protected]>
*/
class DoctrineWorker extends BaseSymfonyWorker
{
* Subsystem name.
* @var string
const SUBSYSTEM_NAME = 'DoctrineWorker';
* {@inheritdoc}
* @param array $commandData
protected function getSerializedCommandData($commandData)
return new SerializedCommandData($commandData['command'], $commandData['command_class']);
}
public function getSubsystemName()
return self::SUBSYSTEM_NAME;