comsave/salesforce-outbound-message-bundle

View on GitHub
src/Comsave/SalesforceOutboundMessageBundle/Services/Builder/OutboundMessageAfterFlushEventBuilder.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Comsave\SalesforceOutboundMessageBundle\Services\Builder;

use Comsave\SalesforceOutboundMessageBundle\Event\OutboundMessageAfterFlushEvent;

class OutboundMessageAfterFlushEventBuilder
{
    public function build($document)
    {
        $event = new OutboundMessageAfterFlushEvent();
        $event->setDocument($document);

        return $event;
    }
}