2019-03-07 20:56:18 +01:00
|
|
|
<?php
|
2019-05-21 05:14:41 +02:00
|
|
|
namespace Psalm\Test\Config\Plugin\Hook\StringProvider;
|
|
|
|
|
|
|
|
class TSqlSelectString extends \Psalm\Type\Atomic\TLiteralString
|
2019-03-07 20:56:18 +01:00
|
|
|
{
|
2020-09-07 22:00:04 +02:00
|
|
|
public function getKey(bool $include_extra = true) : string
|
2019-03-07 20:56:18 +01:00
|
|
|
{
|
|
|
|
return 'sql-select-string';
|
|
|
|
}
|
2019-07-05 22:24:00 +02:00
|
|
|
|
2020-09-12 17:24:05 +02:00
|
|
|
public function getId(bool $nested = true): string
|
2019-03-07 20:56:18 +01:00
|
|
|
{
|
|
|
|
return 'sql-select-string(' . $this->value . ')';
|
|
|
|
}
|
2019-07-05 22:24:00 +02:00
|
|
|
|
2020-09-12 17:24:05 +02:00
|
|
|
public function canBeFullyExpressedInPhp(): bool
|
2019-03-07 20:56:18 +01:00
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|