1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-03 18:17:55 +01:00
psalm/tests/Config/Plugin/Hook/StringProvider/TSqlSelectString.php

30 lines
521 B
PHP
Raw Normal View History

<?php
namespace Psalm\Test\Config\Plugin\Hook\StringProvider;
class TSqlSelectString extends \Psalm\Type\Atomic\TLiteralString
{
/**
* @return string
*/
public function getKey()
{
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;
}
}