for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Blog\Tag;
use Cycle\ORM\Command\ContextCarrierInterface;
use Cycle\ORM\Heap\Node;
use Cycle\ORM\Heap\State;
use Cycle\ORM\Mapper\Mapper;
final class TagMapper extends Mapper
{
public function queueCreate($entity, Node $node, State $state): ContextCarrierInterface
$command = parent::queueCreate($entity, $node, $state);
$state->register('created_at', new \DateTimeImmutable(), true);
$command->register('created_at', new \DateTimeImmutable(), true);
return $command;
}