Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | namespace Apie\Core\Datalayers; |
| 3 | |
| 4 | use Apie\Core\BoundedContext\BoundedContextId; |
| 5 | use Apie\Core\Lists\StringSet; |
| 6 | use ReflectionClass; |
| 7 | |
| 8 | /** |
| 9 | * Implement this interface to a data layer class to add filters for the get resource list endpoint. |
| 10 | */ |
| 11 | interface ApieDatalayerWithFilters extends ApieDatalayer |
| 12 | { |
| 13 | /** |
| 14 | * @param ReflectionClass<object> $class |
| 15 | */ |
| 16 | public function getFilterColumns(ReflectionClass $class, BoundedContextId $boundedContextId): ?StringSet; |
| 17 | |
| 18 | /** |
| 19 | * @param ReflectionClass<object> $class |
| 20 | */ |
| 21 | public function getOrderByColumns(ReflectionClass $class, BoundedContextId $boundedContextId): ?StringSet; |
| 22 | } |