smsq/vendor/FluentPDO/FluentLiteral.php

31 lines
402 B
PHP
Raw Normal View History

2017-11-15 05:23:00 +01:00
<?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;
}
}