1
0
mirror of https://github.com/danog/LibDNSJson.git synced 2024-11-30 04:19:14 +01:00
LibDNSJson/lib/QueryEncoderFactory.php

35 lines
781 B
PHP
Raw Permalink Normal View History

2019-06-12 14:31:58 +02:00
<?php declare(strict_types=1);
/**
* Creates QueryEncoder objects.
*
* PHP version 5.4
*
* @category LibDNS
* @package Encoder
* @author Daniil Gentili <https://daniil.it>, Chris Wright <https://github.com/DaveRandom>
* @copyright Copyright (c) Chris Wright <https://github.com/DaveRandom>
* @license http://www.opensource.org/licenses/mit-license.html MIT License
* @version 2.0.0
*/
namespace danog\LibDNSJson;
/**
* Creates QueryEncoder objects.
*
* @category LibDNS
* @package Encoder
* @author Daniil Gentili <https://daniil.it>, Chris Wright <https://github.com/DaveRandom>
*/
class QueryEncoderFactory
{
/**
* Create a new Encoder object.
*
*/
public function create(): QueryEncoder
{
return new QueryEncoder();
}
}