Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/routing/Route.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | 129ea1e6d783 |
children |
comparison
equal
deleted
inserted
replaced
17:129ea1e6d783 | 18:af1871eacc83 |
---|---|
312 * | 312 * |
313 * @return bool true if the option is set, false otherwise | 313 * @return bool true if the option is set, false otherwise |
314 */ | 314 */ |
315 public function hasOption($name) | 315 public function hasOption($name) |
316 { | 316 { |
317 return array_key_exists($name, $this->options); | 317 return \array_key_exists($name, $this->options); |
318 } | 318 } |
319 | 319 |
320 /** | 320 /** |
321 * Returns the defaults. | 321 * Returns the defaults. |
322 * | 322 * |
381 * | 381 * |
382 * @return bool true if the default value is set, false otherwise | 382 * @return bool true if the default value is set, false otherwise |
383 */ | 383 */ |
384 public function hasDefault($name) | 384 public function hasDefault($name) |
385 { | 385 { |
386 return array_key_exists($name, $this->defaults); | 386 return \array_key_exists($name, $this->defaults); |
387 } | 387 } |
388 | 388 |
389 /** | 389 /** |
390 * Sets a default value. | 390 * Sets a default value. |
391 * | 391 * |
466 * | 466 * |
467 * @return bool true if a requirement is specified, false otherwise | 467 * @return bool true if a requirement is specified, false otherwise |
468 */ | 468 */ |
469 public function hasRequirement($key) | 469 public function hasRequirement($key) |
470 { | 470 { |
471 return array_key_exists($key, $this->requirements); | 471 return \array_key_exists($key, $this->requirements); |
472 } | 472 } |
473 | 473 |
474 /** | 474 /** |
475 * Sets a requirement for the given key. | 475 * Sets a requirement for the given key. |
476 * | 476 * |