|
- <?php
-
-
- namespace yii\db;
-
-
- class Expression extends \yii\base\Object
- {
-
-
- public $expression;
-
-
- public $params = [];
-
-
-
-
- public function __construct($expression, $params = [], $config = [])
- {
- $this->expression = $expression;
- $this->params = $params;
- parent::__construct($config);
- }
-
-
-
- public function __toString()
- {
- return $this->expression;
- }
- }
|