Skip to content

Commit 8aacc20

Browse files
committed
Add getOrderable
1 parent 9a8e601 commit 8aacc20

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Repositories/AbstractRepository.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,16 @@ public function getSearchable()
343343
return $this->searchable;
344344
}
345345

346+
/**
347+
* Return orderable array.
348+
*
349+
* @return array
350+
*/
351+
public function getOrderable()
352+
{
353+
return $this->orderable;
354+
}
355+
346356
/**
347357
* Filter results by given query params.
348358
*

0 commit comments

Comments
 (0)