smsq/vendor/FluentPDO/FluentLiteral.php
2017-11-15 05:24:35 +01:00

31 lines
402 B
PHP

<?php
/**
* SQL literal value
*/
class FluentLiteral
{
/** @var string */
protected $value = '';
/**
* Create literal value
*
* @param string $value
*/
function __construct($value) {
$this->value = $value;
}
/**
* Get literal value
*
* @return string
*/
function __toString() {
return $this->value;
}
}