From b732c8cbeef644caf54df1e556fadfcd17b395ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Simonas=20=C5=A0erlinskas?= <simonas.serlinskas@nfq.com>
Date: Thu, 24 Jan 2019 16:36:52 +0200
Subject: [PATCH] added missing field sort getters and setters

---
 src/Sort/FieldSort.php | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/src/Sort/FieldSort.php b/src/Sort/FieldSort.php
index f11a445..774aab7 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
      */
-- 
GitLab