Files
development/vendor/felixfbecker/language-server-protocol/src/ClientInfo.php
2023-03-09 16:27:10 +09:00

30 lines
541 B
PHP

<?php
namespace LanguageServerProtocol;
class ClientInfo
{
/**
* The name of the client as defined by the client.
*
* @var string
*/
public $name;
/**
* The client's version as defined by the client.
*
* @var string|null
*/
public $version;
public function __construct(
string $name = null,
string $version = null
) {
/** @psalm-suppress PossiblyNullPropertyAssignmentValue */
$this->name = $name;
$this->version = $version;
}
}