W3cubDocs

/Laravel 5.8

Expression

class Expression (View source)

Properties

protected mixed $value The value of the expression.

Methods

void __construct(mixed $value)

Create a new raw query expression.

mixed getValue()

Get the value of the expression.

string __toString()

Get the value of the expression.

Details

void __construct(mixed $value)

Create a new raw query expression.

Parameters

mixed $value

Return Value

void

mixed getValue()

Get the value of the expression.

Return Value

mixed

string __toString()

Get the value of the expression.

Return Value

string

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.8/Illuminate/Database/Query/Expression.html