for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of PHP DNS Server.
*
* (c) Yif Swery <[email protected]>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace yswery\DNS\Event;
use yswery\DNS\Message;
use Symfony\Component\EventDispatcher\Event;
class QueryReceiveEvent extends Event
{
/**
* @var Message
private $message;
* QueryReceiveEvent constructor.
* @param Message $message
public function __construct(Message $message)
$this->message = $message;
}
* @return Message
public function getMessage(): Message
return $this->message;