@@ 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 |
@@ 50-59 (lines=10) @@ | ||
47 | * @param string $institution |
|
48 | * @param int $pageNumber |
|
49 | */ |
|
50 | public function __construct($actorInstitution, $pageNumber) |
|
51 | { |
|
52 | $this->assertNonEmptyString($actorInstitution, 'actorInstitution'); |
|
53 | Assert\that($pageNumber) |
|
54 | ->integer('Page number must be an integer') |
|
55 | ->min(0, 'Page number must be greater than or equal to 1'); |
|
56 | ||
57 | $this->actorInstitution = $actorInstitution; |
|
58 | $this->pageNumber = $pageNumber; |
|
59 | } |
|
60 | ||
61 | /** |
|
62 | * @param string $orderBy |