for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Happyr\Mq2phpBundle\Event;
use SimpleBus\Serialization\Envelope\Envelope;
use Symfony\Component\EventDispatcher\Event;
/**
* A message has been pulled from the queue and we are just about to start handling that message.
*
* @author Tobias Nyholm <[email protected]>
*/
class PreHandleMessage extends Event
{
const NAME = 'happyr.mq2php.pre_handle_message';
* @var Envelope
private $envelope;
* @param Envelope $envelope
public function __construct(Envelope $envelope)
$this->envelope = $envelope;
}
* @return Envelope
public function getEnvelope()
return $this->envelope;