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/RaSecondFactorExportQuery.php 1 location
|
@@ 246-254 (lines=9) @@
|
243 |
|
/** |
244 |
|
* @param string|null $orderDirection |
245 |
|
*/ |
246 |
|
public function setOrderDirection($orderDirection) |
247 |
|
{ |
248 |
|
Assert\that($orderDirection)->choice( |
249 |
|
['asc', 'desc', '', null], |
250 |
|
"Invalid order direction, must be one of 'asc', 'desc'" |
251 |
|
); |
252 |
|
|
253 |
|
$this->orderDirection = $orderDirection ?: null; |
254 |
|
} |
255 |
|
|
256 |
|
private function assertNonEmptyString($value, $name) |
257 |
|
{ |
src/Surfnet/StepupMiddlewareClient/Identity/Dto/RaSecondFactorSearchQuery.php 1 location
|
@@ 238-246 (lines=9) @@
|
235 |
|
/** |
236 |
|
* @param string|null $orderDirection |
237 |
|
*/ |
238 |
|
public function setOrderDirection($orderDirection) |
239 |
|
{ |
240 |
|
Assert\that($orderDirection)->choice( |
241 |
|
['asc', 'desc', '', null], |
242 |
|
"Invalid order direction, must be one of 'asc', 'desc'" |
243 |
|
); |
244 |
|
|
245 |
|
$this->orderDirection = $orderDirection ?: null; |
246 |
|
} |
247 |
|
|
248 |
|
private function assertNonEmptyString($value, $name) |
249 |
|
{ |
src/Surfnet/StepupMiddlewareClient/Identity/Dto/RaListingSearchQuery.php 1 location
|
@@ 142-152 (lines=11) @@
|
139 |
|
* @param string|null $orderDirection |
140 |
|
* @return RaListingSearchQuery |
141 |
|
*/ |
142 |
|
public function setOrderDirection($orderDirection) |
143 |
|
{ |
144 |
|
Assert\that($orderDirection)->choice( |
145 |
|
['asc', 'desc', '', null], |
146 |
|
"Invalid order direction, must be one of 'asc', 'desc'" |
147 |
|
); |
148 |
|
|
149 |
|
$this->orderDirection = $orderDirection ?: null; |
150 |
|
|
151 |
|
return $this; |
152 |
|
} |
153 |
|
|
154 |
|
/** |
155 |
|
* @param string $name |