expression = $expression; } /** * @return bool */ public function isAsc() { return strtoupper($this->type) === 'ASC'; } /** * @return bool */ public function isDesc() { return strtoupper($this->type) === 'DESC'; } /** * {@inheritdoc} */ public function dispatch($sqlWalker) { return $sqlWalker->walkOrderByItem($this); } }