welcome back to dyb-tech
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Doctrine\ORM\Query\AST;
|
||||
|
||||
/**
|
||||
* SimpleSelectClause ::= "SELECT" ["DISTINCT"] SimpleSelectExpression
|
||||
*
|
||||
* @link www.doctrine-project.org
|
||||
*/
|
||||
class SimpleSelectClause extends Node
|
||||
{
|
||||
/** @var bool */
|
||||
public $isDistinct = false;
|
||||
|
||||
/** @var SimpleSelectExpression */
|
||||
public $simpleSelectExpression;
|
||||
|
||||
/**
|
||||
* @param SimpleSelectExpression $simpleSelectExpression
|
||||
* @param bool $isDistinct
|
||||
*/
|
||||
public function __construct($simpleSelectExpression, $isDistinct)
|
||||
{
|
||||
$this->simpleSelectExpression = $simpleSelectExpression;
|
||||
$this->isDistinct = $isDistinct;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function dispatch($sqlWalker)
|
||||
{
|
||||
return $sqlWalker->walkSimpleSelectClause($this);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user