src/Phan/LanguageServer/Protocol/TextDocumentItem.php
<?php
declare(strict_types=1);
namespace Phan\LanguageServer\Protocol;
/**
* An item to transfer a text document from the client to the server.
*
* Source: https://github.com/felixfbecker/php-language-server/tree/master/src/Protocol/TextDocumentItem.php
* See ../../../../LICENSE.LANGUAGE_SERVER
* @phan-immutable
*/
class TextDocumentItem
{
/**
* The text document's URI.
*
* @var string
*/
public $uri;
/**
* The text document's language identifier.
*
* @var string
* @suppress PhanUnreferencedPublicProperty (Part of the protocol but Phan doesn't use it)
*/
public $languageId;
/**
* The version number of this document (it will strictly increase after each
* change, including undo/redo).
*
* @var int
* @suppress PhanUnreferencedPublicProperty (Part of the protocol but Phan doesn't use it)
*/
public $version;
/**
* The content of the opened text document.
*
* @var string
*/
public $text;
}