1
0
Fork 0
php-language-server/src/Protocol/Hover.php

34 lines
615 B
PHP
Raw Normal View History

2016-08-22 15:32:31 +00:00
<?php
namespace LanguageServer\Protocol;
/**
* The result of a hover request.
*/
class Hover
{
/**
* The hover's content
*
* @var string|MarkedString|string[]|MarkedString[]
2016-08-22 15:32:31 +00:00
*/
public $contents;
/**
* An optional range
*
* @var Range|null
*/
public $range;
/**
* @param string|MarkedString|string[]|MarkedString[] $contents The hover's content
* @param Range $range An optional range
*/
public function __construct($contents = null, $range = null)
{
$this->contents = $contents;
$this->range = $range;
}
2016-08-22 15:32:31 +00:00
}