1
0
mirror of https://github.com/danog/dns.git synced 2024-12-02 09:27:55 +01:00
dns/lib/Native/NativeEncoderFactory.php

36 lines
798 B
PHP
Raw Permalink Normal View History

2019-08-22 22:38:29 +02:00
<?php
2019-08-22 20:44:19 +02:00
/**
* Creates NativeEncoder 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
*/
2019-08-22 20:46:31 +02:00
2019-08-22 20:44:19 +02:00
namespace Amp\Dns\Native;
/**
* Creates NativeEncoder objects.
*
* @category LibDNS
* @package Encoder
* @author Daniil Gentili <https://daniil.it>, Chris Wright <https://github.com/DaveRandom>
*/
class NativeEncoderFactory
{
/**
* Create a new Encoder object.
*
* @return \LibDNS\Encoder\Encoder
*/
public function create(): NativeEncoder
{
return new NativeEncoder();
}
}