1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-12 09:19:40 +01:00
psalm/tests/Config/Plugin/Hook/StringProvider/TSqlSelectString.php

30 lines
547 B
PHP
Raw Normal View History

<?php
namespace Psalm\Test\Config\Plugin\Hook\StringProvider;
class TSqlSelectString extends \Psalm\Type\Atomic\TLiteralString
{
/**
* @return string
*/
2020-02-28 00:56:25 +01:00
public function getKey(bool $include_extra = true)
{
return 'sql-select-string';
}
2019-07-05 22:24:00 +02:00
/**
* @return string
*/
public function getId(bool $nested = true)
{
return 'sql-select-string(' . $this->value . ')';
}
2019-07-05 22:24:00 +02:00
/**
* @return bool
*/
public function canBeFullyExpressedInPhp()
{
return false;
}
}