src/Surfnet/StepupMiddlewareClient/Identity/Dto/RaCandidateSearchQuery.php 1 location
|
@@ 70-79 (lines=10) @@
|
67 |
|
* @param string $institution |
68 |
|
* @param int $pageNumber |
69 |
|
*/ |
70 |
|
public function __construct($actorInstitution, $pageNumber) |
71 |
|
{ |
72 |
|
$this->assertNonEmptyString($actorInstitution, 'actorInstitution'); |
73 |
|
Assert\that($pageNumber) |
74 |
|
->integer('Page number must be an integer') |
75 |
|
->min(0, 'Page number must be greater than or equal to 1'); |
76 |
|
|
77 |
|
$this->actorInstitution = $actorInstitution; |
78 |
|
$this->pageNumber = $pageNumber; |
79 |
|
} |
80 |
|
|
81 |
|
/** |
82 |
|
* @param string $commonName |
src/Surfnet/StepupMiddlewareClient/Identity/Dto/RaListingSearchQuery.php 1 location
|
@@ 60-69 (lines=10) @@
|
57 |
|
* @param string $institution |
58 |
|
* @param int $pageNumber |
59 |
|
*/ |
60 |
|
public function __construct($actorInstitution, $pageNumber) |
61 |
|
{ |
62 |
|
$this->assertNonEmptyString($actorInstitution, 'actorInstitution'); |
63 |
|
Assert\that($pageNumber) |
64 |
|
->integer('Page number must be an integer') |
65 |
|
->min(0, 'Page number must be greater than or equal to 1'); |
66 |
|
|
67 |
|
$this->actorInstitution = $actorInstitution; |
68 |
|
$this->pageNumber = $pageNumber; |
69 |
|
} |
70 |
|
|
71 |
|
/** |
72 |
|
* @param string $institution |
src/Surfnet/StepupMiddlewareClient/Identity/Dto/RaSecondFactorSearchQuery.php 1 location
|
@@ 85-94 (lines=10) @@
|
82 |
|
* @param string $institution |
83 |
|
* @param int $pageNumber |
84 |
|
*/ |
85 |
|
public function __construct($institution, $pageNumber) |
86 |
|
{ |
87 |
|
$this->assertNonEmptyString($institution, 'institution'); |
88 |
|
Assert\that($pageNumber) |
89 |
|
->integer('Page number must be an integer') |
90 |
|
->min(1, 'Page number must be greater than or equal to 1'); |
91 |
|
|
92 |
|
$this->actorInstitution = $institution; |
93 |
|
$this->pageNumber = $pageNumber; |
94 |
|
} |
95 |
|
|
96 |
|
/** |
97 |
|
* @return null|string |