morris/lessql

View on GitHub
src/LessQL/Literal.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace LessQL;

/**
 * SQL Literal
 */
class Literal
{
    /**
     * Constructor
     *
     * @param string
     */
    public function __construct($value)
    {
        $this->value = $value;
    }

    /**
     * Return the literal value
     *
     * @return string
     */
    public function __toString()
    {
        return $this->value;
    }

    /** @var string */
    public $value;
}