Lines Matching refs:parameter

245      * @param string    $parameter
250 public function boolean(string $parameter, bool|null $default = null): bool argument
252 $value = $this->parameters[$parameter] ?? null;
263 … throw new HttpBadRequestException(I18N::translate('The parameter “%s” is missing.', $parameter));
270 * @param string $parameter
274 public function array(string $parameter): array argument
276 $value = $this->parameters[$parameter] ?? null;
279 … throw new HttpBadRequestException(I18N::translate('The parameter “%s” is missing.', $parameter));
288 * @param string $parameter
293 public function float(string $parameter, float|null $default = null): float argument
295 $value = $this->parameters[$parameter] ?? null;
308 … throw new HttpBadRequestException(I18N::translate('The parameter “%s” is missing.', $parameter));
315 * @param string $parameter
320 public function integer(string $parameter, int|null $default = null): int argument
322 $value = $this->parameters[$parameter] ?? null;
341 … throw new HttpBadRequestException(I18N::translate('The parameter “%s” is missing.', $parameter));
348 * @param string $parameter
352 public function route(string $parameter = 'route'): Route argument
354 $value = $this->parameters[$parameter] ?? null;
360 … throw new HttpBadRequestException(I18N::translate('The parameter “%s” is missing.', $parameter));
364 * @param string $parameter
369 public function string(string $parameter, string|null $default = null): string argument
371 $value = $this->parameters[$parameter] ?? null;
382 … throw new HttpBadRequestException(I18N::translate('The parameter “%s” is missing.', $parameter));
389 * @param string $parameter
393 public function tree(string $parameter = 'tree'): Tree argument
395 $value = $this->parameters[$parameter] ?? null;
401 … throw new HttpBadRequestException(I18N::translate('The parameter “%s” is missing.', $parameter));
404 public function treeOptional(string $parameter = 'tree'): Tree|null argument
406 $value = $this->parameters[$parameter] ?? null;
412 … throw new HttpBadRequestException(I18N::translate('The parameter “%s” is missing.', $parameter));
415 public function user(string $parameter = 'user'): UserInterface argument
417 $value = $this->parameters[$parameter] ?? null;
423 … throw new HttpBadRequestException(I18N::translate('The parameter “%s” is missing.', $parameter));