src/Surfnet/StepupMiddlewareClient/Identity/Dto/SecondFactorAuditLogSearchQuery.php 1 location
|
@@ 84-92 (lines=9) @@
|
| 81 |
|
/** |
| 82 |
|
* @param string|null $orderDirection |
| 83 |
|
*/ |
| 84 |
|
public function setOrderDirection($orderDirection) |
| 85 |
|
{ |
| 86 |
|
Assert\that($orderDirection)->choice( |
| 87 |
|
['asc', 'desc', '', null], |
| 88 |
|
"Invalid order direction, must be one of 'asc', 'desc'" |
| 89 |
|
); |
| 90 |
|
|
| 91 |
|
$this->orderDirection = $orderDirection ?: null; |
| 92 |
|
} |
| 93 |
|
|
| 94 |
|
private function assertNonEmptyString($value, $name) |
| 95 |
|
{ |
src/Surfnet/StepupMiddlewareClient/Identity/Dto/RaListingSearchQuery.php 1 location
|
@@ 134-144 (lines=11) @@
|
| 131 |
|
* @param string|null $orderDirection |
| 132 |
|
* @return RaListingSearchQuery |
| 133 |
|
*/ |
| 134 |
|
public function setOrderDirection($orderDirection) |
| 135 |
|
{ |
| 136 |
|
Assert\that($orderDirection)->choice( |
| 137 |
|
['asc', 'desc', '', null], |
| 138 |
|
"Invalid order direction, must be one of 'asc', 'desc'" |
| 139 |
|
); |
| 140 |
|
|
| 141 |
|
$this->orderDirection = $orderDirection ?: null; |
| 142 |
|
|
| 143 |
|
return $this; |
| 144 |
|
} |
| 145 |
|
|
| 146 |
|
/** |
| 147 |
|
* @param string $name |
src/Surfnet/StepupMiddlewareClient/Identity/Dto/RaSecondFactorExportQuery.php 1 location
|
@@ 240-248 (lines=9) @@
|
| 237 |
|
/** |
| 238 |
|
* @param string|null $orderDirection |
| 239 |
|
*/ |
| 240 |
|
public function setOrderDirection($orderDirection) |
| 241 |
|
{ |
| 242 |
|
Assert\that($orderDirection)->choice( |
| 243 |
|
['asc', 'desc', '', null], |
| 244 |
|
"Invalid order direction, must be one of 'asc', 'desc'" |
| 245 |
|
); |
| 246 |
|
|
| 247 |
|
$this->orderDirection = $orderDirection ?: null; |
| 248 |
|
} |
| 249 |
|
|
| 250 |
|
private function assertNonEmptyString($value, $name) |
| 251 |
|
{ |
src/Surfnet/StepupMiddlewareClient/Identity/Dto/RaSecondFactorSearchQuery.php 1 location
|
@@ 230-238 (lines=9) @@
|
| 227 |
|
/** |
| 228 |
|
* @param string|null $orderDirection |
| 229 |
|
*/ |
| 230 |
|
public function setOrderDirection($orderDirection) |
| 231 |
|
{ |
| 232 |
|
Assert\that($orderDirection)->choice( |
| 233 |
|
['asc', 'desc', '', null], |
| 234 |
|
"Invalid order direction, must be one of 'asc', 'desc'" |
| 235 |
|
); |
| 236 |
|
|
| 237 |
|
$this->orderDirection = $orderDirection ?: null; |
| 238 |
|
} |
| 239 |
|
|
| 240 |
|
private function assertNonEmptyString($value, $name) |
| 241 |
|
{ |