src/UI/Resolver/Validator/PragmaticRequestQueryStringValueValidator.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 147-157 (lines=11) @@ | 
                                                            
                                    | 144 |  |      * @throws CommandMappingException If any mapping validation failed | 
                                                            
                                    | 145 |  |      * @return int|null | 
                                                            
                                    | 146 |  |      */ | 
                                                            
                                    | 147 |  |     public function mustBeIntegerOrEmpty(ServerRequestInterface $request, string $attributeKey, string $exceptionMessage = null) | 
                                                            
                                    | 148 |  |     { | 
                                                            
                                    | 149 |  |         $value = $this->extractValueFromRequestQueryString($request, $attributeKey); | 
                                                            
                                    | 150 |  |  | 
                                                            
                                    | 151 |  |         return $this->rawValueValidator->mustBeIntegerOrEmpty( | 
                                                            
                                    | 152 |  |             $value, | 
                                                            
                                    | 153 |  |             $attributeKey, | 
                                                            
                                    | 154 |  |             $this, | 
                                                            
                                    | 155 |  |             $exceptionMessage | 
                                                            
                                    | 156 |  |         ); | 
                                                            
                                    | 157 |  |     } | 
                                                            
                                    | 158 |  | } | 
                                                            
                                    | 159 |  |  | 
                                                                        
                 
                                                            
                    
src/UI/Resolver/Validator/RequestAttributeValueValidator.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 180-190 (lines=11) @@ | 
                                                            
                                    | 177 |  |      * @throws CommandMappingException If any mapping validation failed | 
                                                            
                                    | 178 |  |      * @return int|null | 
                                                            
                                    | 179 |  |      */ | 
                                                            
                                    | 180 |  |     public function mustBeIntegerOrEmpty(ServerRequestInterface $request, string $attributeKey, string $exceptionMessage = null) | 
                                                            
                                    | 181 |  |     { | 
                                                            
                                    | 182 |  |         $value = $this->extractValueFromRequestAttribute($request, $attributeKey); | 
                                                            
                                    | 183 |  |  | 
                                                            
                                    | 184 |  |         return $this->rawValueValidator->mustBeIntegerOrEmpty( | 
                                                            
                                    | 185 |  |             $value, | 
                                                            
                                    | 186 |  |             $attributeKey, | 
                                                            
                                    | 187 |  |             $this, | 
                                                            
                                    | 188 |  |             $exceptionMessage | 
                                                            
                                    | 189 |  |         ); | 
                                                            
                                    | 190 |  |     } | 
                                                            
                                    | 191 |  |  | 
                                                            
                                    | 192 |  |     /** | 
                                                            
                                    | 193 |  |      * Exceptions are caught in order to be processed later | 
                                                                        
                 
                                                            
                    
src/UI/Resolver/Validator/RequestQueryStringValueValidator.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 174-184 (lines=11) @@ | 
                                                            
                                    | 171 |  |      * @throws CommandMappingException If any mapping validation failed | 
                                                            
                                    | 172 |  |      * @return int|null | 
                                                            
                                    | 173 |  |      */ | 
                                                            
                                    | 174 |  |     public function mustBeIntegerOrEmpty(ServerRequestInterface $request, string $queryStringKey, string $exceptionMessage = null) | 
                                                            
                                    | 175 |  |     { | 
                                                            
                                    | 176 |  |         $value = $this->extractValueFromRequestQueryString($request, $queryStringKey); | 
                                                            
                                    | 177 |  |  | 
                                                            
                                    | 178 |  |         return $this->rawValueValidator->mustBeIntegerOrEmpty( | 
                                                            
                                    | 179 |  |             $value, | 
                                                            
                                    | 180 |  |             $queryStringKey, | 
                                                            
                                    | 181 |  |             $this, | 
                                                            
                                    | 182 |  |             $exceptionMessage | 
                                                            
                                    | 183 |  |         ); | 
                                                            
                                    | 184 |  |     } | 
                                                            
                                    | 185 |  |  | 
                                                            
                                    | 186 |  |     /** | 
                                                            
                                    | 187 |  |      * Exceptions are caught in order to be processed later |