mirror of
https://github.com/xPaw/PHP-Source-Query.git
synced 2026-06-10 21:33:14 +02:00
780ebba6a2
Update README.md.
22 lines
443 B
PHP
22 lines
443 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace xPaw\SourceQuery;
|
|
|
|
use xPaw\SourceQuery\Socket\GoldSourceSocket;
|
|
use xPaw\SourceQuery\Socket\SourceSocket;
|
|
|
|
final class SourceQueryFactory
|
|
{
|
|
public static function createGoldSourceQuery(): SourceQuery
|
|
{
|
|
return new SourceQuery(new SourceSocket());
|
|
}
|
|
|
|
public static function createSourceQuery(): SourceQuery
|
|
{
|
|
return new SourceQuery(new GoldSourceSocket());
|
|
}
|
|
}
|