diff --git a/src/Sort/FieldSort.php b/src/Sort/FieldSort.php index f11a44573bf6a54009dc113aea001b8ea3c5827d..774aab7b0c6c138c751161679beb318c97b33317 100644 --- a/src/Sort/FieldSort.php +++ b/src/Sort/FieldSort.php @@ -51,6 +51,42 @@ class FieldSort implements BuilderInterface $this->setParameters($params); } + /** + * @return string + */ + public function getField() + { + return $this->field; + } + + /** + * @param string $field + * @return self + */ + public function setField($field) + { + $this->field = $field; + return $this; + } + + /** + * @return string + */ + public function getOrder() + { + return $this->order; + } + + /** + * @param string $order + * @return self + */ + public function setOrder($order) + { + $this->order = $order; + return $this; + } + /** * @return BuilderInterface */