fuc-new/vendor/illuminate/database/Query/Expression.php
hellcat 1fe8673f62 1
2025-10-01 13:34:29 +08:00

39 lines
761 B
PHP
Executable File

<?php
namespace Illuminate\Database\Query;
use Illuminate\Contracts\Database\Query\Expression as ExpressionContract;
use Illuminate\Database\Grammar;
class Expression implements ExpressionContract
{
/**
* The value of the expression.
*
* @var string|int|float
*/
protected $value;
/**
* Create a new raw query expression.
*
* @param string|int|float $value
* @return void
*/
public function __construct($value)
{
$this->value = $value;
}
/**
* Get the value of the expression.
*
* @param \Illuminate\Database\Grammar $grammar
* @return string|int|float
*/
public function getValue(Grammar $grammar)
{
return $this->value;
}
}