@@ 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 |
@@ 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 |