PluginProbe
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses / 1.0.91
FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses v1.0.91
2.10.0 2.10.01 2.9.1 2.9.0 2.8.1 2.8.0 2.7.7 2.7.5 2.7.0 2.6.01 2.6.0 2.5.0 2.4.01 trunk 1.0.90 1.0.91 1.0.92 1.0.93 1.0.94 1.0.95 1.0.96 1.0.97 1.0.98 1.0.99 1.1.0 All 77 releases
fluent-community / vendor / wpfluent / framework / src / WPFluent / Database / Query / Expression.php

Expression.php in FluentCommunity – Ultra-Fast High-Performance Social Network, Community, LMS & Online Courses 1.0.91, at vendor/wpfluent/framework/src/WPFluent/Database/Query/Expression.php

47 lines 600 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace FluentCommunity\Framework\Database\Query;
4
5 class Expression
6 {
7
8 /**
9 * The value of the expression.
10 *
11 * @var mixed
12 */
13 protected $value;
14
15 /**
16 * Create a new raw query expression.
17 *
18 * @param mixed $value
19 * @return void
20 */
21 public function __construct($value)
22 {
23 $this->value = $value;
24 }
25
26 /**
27 * Get the value of the expression.
28 *
29 * @return mixed
30 */
31 public function getValue()
32 {
33 return $this->value;
34 }
35
36 /**
37 * Get the value of the expression.
38 *
39 * @return string
40 */
41 public function __toString()
42 {
43 return (string) $this->getValue();
44 }
45
46 }
47